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.001339/0.001339, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001487/0.001487, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.961 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.752/2.752, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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="me",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="me",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.002279/0.002279, allocations: 68.88 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3341, allocations: 169.9 MB / 1.283 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009565/0.3436, allocations: 7.088 MB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005824/0.3494, allocations: 3.215 MB / 1.293 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.3501, allocations: 35.69 kB / 1.293 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.3528, allocations: 1.001 MB / 1.294 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.3543, allocations: 0.5207 MB / 1.295 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3555, allocations: 449.2 kB / 1.295 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.3571, allocations: 1.236 MB / 1.297 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008854/0.358, allocations: 0.5298 MB / 1.297 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007966/0.3588, allocations: 498.2 kB / 1.298 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008181/0.3596, allocations: 0.5487 MB / 1.298 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.3597, allocations: 68 kB / 1.298 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.3605, allocations: 387.2 kB / 1.299 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.3609, allocations: 319 kB / 1.299 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.3613, allocations: 449.7 kB / 1.299 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.3629, allocations: 1.233 MB / 1.3 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3629, allocations: 0 / 1.3 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3629, allocations: 0 / 1.3 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.3629, allocations: 0 / 1.3 GB, free: 2.207 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.002074/0.365, allocations: 1.127 MB / 1.302 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.365, allocations: 8.031 kB / 1.302 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.3652, allocations: 118.7 kB / 1.302 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.3667, allocations: 244.1 kB / 1.302 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3677, allocations: 0.536 MB / 1.302 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.3678, allocations: 49.67 kB / 1.303 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3679, allocations: 64.41 kB / 1.303 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.3695, allocations: 1.096 MB / 1.304 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3695, allocations: 0 / 1.304 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.3696, allocations: 39.97 kB / 1.304 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.3698, allocations: 85.25 kB / 1.304 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3709, allocations: 0.7503 MB / 1.305 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/0.377, allocations: 5.803 MB / 1.31 GB, free: 7.699 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.378, allocations: 0.5047 MB / 1.311 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.3784, allocations: 291 kB / 1.311 GB, free: 6.898 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.3784, allocations: 8.438 kB / 1.311 GB, free: 6.891 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3785, allocations: 35 kB / 1.311 GB, free: 6.848 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.3785, allocations: 4 kB / 1.311 GB, free: 6.844 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004016/0.3825, allocations: 1.678 MB / 1.313 GB, free: 5.145 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3825, allocations: 59.84 kB / 1.313 GB, free: 5.074 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.3832, allocations: 0.5665 MB / 1.313 GB, free: 4.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.3832, allocations: 37.7 kB / 1.313 GB, free: 4.457 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.3835, allocations: 424.1 kB / 1.314 GB, free: 4.039 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.3837, allocations: 178.5 kB / 1.314 GB, free: 3.863 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.3839, allocations: 126.6 kB / 1.314 GB, free: 3.734 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3841, allocations: 386.7 kB / 1.314 GB, free: 3.348 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.3845, allocations: 269.9 kB / 1.315 GB, free: 3.082 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.3851, allocations: 496.9 kB / 1.315 GB, free: 2.504 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3861, allocations: 0.8083 MB / 1.316 GB, free: 1.602 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3861, allocations: 4 kB / 1.316 GB, free: 1.598 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001875/0.388, allocations: 1.078 MB / 1.317 GB, free: 0.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.388, allocations: 8 kB / 1.317 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.388, allocations: 8 kB / 1.317 GB, free: 496 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008715/0.3889, allocations: 279.9 kB / 1.317 GB, free: 204 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.3894, allocations: 127.7 kB / 1.317 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006845/0.3962, allocations: 6.728 MB / 1.324 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.3969, allocations: 39.95 kB / 1.324 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.3969, allocations: 31.94 kB / 1.324 GB, free: 8.812 MB / 1.029 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.0004256/0.3973, allocations: 257.6 kB / 1.324 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.3975, allocations: 75.53 kB / 1.324 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.3991, allocations: 0.8847 MB / 1.325 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3991, allocations: 4 kB / 1.325 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3991, allocations: 4 kB / 1.325 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3991, allocations: 3.984 kB / 1.325 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.4019, allocations: 1.688 MB / 1.327 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.4019, allocations: 4 kB / 1.327 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.4022, allocations: 63.88 kB / 1.327 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/0.4029, allocations: 271.6 kB / 1.327 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.403, allocations: 16 kB / 1.327 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006821/0.4098, allocations: 6.705 MB / 1.334 GB, free: 14.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.4098, allocations: 8.031 kB / 1.334 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4114, allocations: 0.9799 MB / 1.335 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.4118, allocations: 115.5 kB / 1.335 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.4119, allocations: 19.92 kB / 1.335 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.4122, allocations: 27.97 kB / 1.335 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.4123, allocations: 39.92 kB / 1.335 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.4124, allocations: 16 kB / 1.335 GB, free: 13.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004665/0.4128, allocations: 395.1 kB / 1.335 GB, free: 12.64 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4128, allocations: 3.938 kB / 1.335 GB, free: 12.63 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007851/0.4136, allocations: 224 kB / 1.335 GB, free: 12.41 MB / 1.045 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.00189/0.4155, allocations: 1.529 MB / 1.337 GB, free: 10.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.4177, allocations: 1.232 MB / 1.338 GB, free: 9.543 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4177, allocations: 4.062 kB / 1.338 GB, free: 9.539 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.419, allocations: 0.8739 MB / 1.339 GB, free: 8.613 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.4202, allocations: 219.9 kB / 1.339 GB, free: 8.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.4302, allocations: 6.409 MB / 1.345 GB, free: 1.656 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.431, allocations: 1.013 MB / 1.346 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005111/0.4315, allocations: 126 kB / 1.347 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.4319, allocations: 255.3 kB / 1.347 GB, free: 252 kB / 1.045 GB Notification: Performance of SimCode: time 1.352e-06/0.4319, allocations: 0 / 1.347 GB, free: 252 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/0.4953, allocations: 18.18 MB / 1.365 GB, free: 14.38 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.54, allocations: 1.438 kB / 1.365 GB, free: 14.38 MB / 1.076 GB " [Timeout remaining time 287] (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.036659850971773]