Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 66.7 kB / 1.118 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2865, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009929/0.2964, allocations: 7.08 MB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005508/0.3019, allocations: 3.223 MB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.3024, allocations: 39.62 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.3049, allocations: 0.9921 MB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.306, allocations: 0.5208 MB / 1.296 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3071, allocations: 452.2 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.3085, allocations: 1.236 MB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.3093, allocations: 0.5291 MB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006825/0.31, allocations: 494.3 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007533/0.3108, allocations: 0.5487 MB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.3109, allocations: 71.98 kB / 1.299 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.3116, allocations: 395.2 kB / 1.299 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.3119, allocations: 315 kB / 1.3 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.3123, allocations: 445.8 kB / 1.3 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.3137, allocations: 1.233 MB / 1.301 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3137, allocations: 4 kB / 1.301 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3137, allocations: 0 / 1.301 GB, free: 10 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.3137, allocations: 0 / 1.301 GB, free: 10 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001905/0.3156, allocations: 1.112 MB / 1.302 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3156, allocations: 8.031 kB / 1.302 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.801e-05/0.3156, allocations: 25.5 kB / 1.302 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.3158, allocations: 122.6 kB / 1.303 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.3173, allocations: 240.1 kB / 1.303 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/0.3182, allocations: 0.536 MB / 1.303 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.3183, allocations: 49.67 kB / 1.303 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3184, allocations: 68.3 kB / 1.303 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.3199, allocations: 1.092 MB / 1.304 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.3199, allocations: 11.89 kB / 1.304 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.32, allocations: 31.98 kB / 1.304 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.3201, allocations: 85.25 kB / 1.305 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.3213, allocations: 0.7581 MB / 1.305 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/0.3271, allocations: 5.788 MB / 1.311 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.328, allocations: 0.5164 MB / 1.311 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.3285, allocations: 286.6 kB / 1.312 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3285, allocations: 4.438 kB / 1.312 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3285, allocations: 39 kB / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.3285, allocations: 0 / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003757/0.3323, allocations: 1.682 MB / 1.313 GB, free: 12.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3323, allocations: 55.84 kB / 1.313 GB, free: 12.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.333, allocations: 0.5665 MB / 1.314 GB, free: 12.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.333, allocations: 33.7 kB / 1.314 GB, free: 12.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.3333, allocations: 428 kB / 1.314 GB, free: 11.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.3335, allocations: 186.5 kB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.3337, allocations: 126.6 kB / 1.315 GB, free: 11.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3339, allocations: 382.6 kB / 1.315 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.3343, allocations: 273.8 kB / 1.315 GB, free: 10.85 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.3349, allocations: 496.9 kB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.336, allocations: 0.8122 MB / 1.317 GB, free: 9.367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.336, allocations: 4 kB / 1.317 GB, free: 9.363 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001915/0.3379, allocations: 1.074 MB / 1.318 GB, free: 8.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3379, allocations: 8.875 kB / 1.318 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3379, allocations: 4 kB / 1.318 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/0.3388, allocations: 279.2 kB / 1.318 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.3393, allocations: 127.7 kB / 1.318 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.3462, allocations: 6.728 MB / 1.325 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.3468, allocations: 48.02 kB / 1.325 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3469, allocations: 28 kB / 1.325 GB, free: 0.5898 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.3473, allocations: 249.5 kB / 1.325 GB, free: 344 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.3474, allocations: 75.53 kB / 1.325 GB, free: 268 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.3491, allocations: 0.8847 MB / 1.326 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3491, allocations: 4 kB / 1.326 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3491, allocations: 4 kB / 1.326 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3491, allocations: 3.984 kB / 1.326 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.3517, allocations: 1.696 MB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3517, allocations: 4 kB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.352, allocations: 64.08 kB / 1.328 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/0.3528, allocations: 267.1 kB / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3528, allocations: 8 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006861/0.3597, allocations: 6.721 MB / 1.334 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3597, allocations: 4.031 kB / 1.334 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.3614, allocations: 0.976 MB / 1.335 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.3617, allocations: 119.5 kB / 1.336 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.3618, allocations: 11.94 kB / 1.336 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.3622, allocations: 27.97 kB / 1.336 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3623, allocations: 47.92 kB / 1.336 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.3623, allocations: 19.94 kB / 1.336 GB, free: 4.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004633/0.3628, allocations: 391.1 kB / 1.336 GB, free: 4.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3628, allocations: 0 / 1.336 GB, free: 4.406 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007828/0.3636, allocations: 220 kB / 1.336 GB, free: 4.191 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/0.3654, allocations: 1.533 MB / 1.338 GB, free: 2.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.3675, allocations: 1.232 MB / 1.339 GB, free: 1.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3675, allocations: 4 kB / 1.339 GB, free: 1.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.3688, allocations: 0.87 MB / 1.34 GB, free: 404 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3698, allocations: 231.7 kB / 1.34 GB, free: 180 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008917/0.3787, allocations: 6.407 MB / 1.346 GB, free: 9.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.3794, allocations: 1.013 MB / 1.347 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.3798, allocations: 122 kB / 1.347 GB, free: 8.27 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.3801, allocations: 259.3 kB / 1.348 GB, free: 8.016 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/0.3801, allocations: 0 / 1.348 GB, free: 8.016 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05328/0.4334, allocations: 18.2 MB / 1.365 GB, free: 6.129 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.97, allocations: 1.891 kB / 1.365 GB, free: 6.129 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.551016662037]