Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001585/0.001585, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001967/0.001967, allocations: 218.4 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.189/3.189, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.001933/0.001933, allocations: 69.67 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3617, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04231/0.404, allocations: 34.84 MB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.4308, allocations: 15.31 MB / 1.394 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004682/0.4355, allocations: 206.4 kB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.4467, allocations: 3.826 MB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.4568, allocations: 3.003 MB / 1.401 GB, free: 7.125 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007185/0.464, allocations: 2.392 MB / 1.403 GB, free: 4.734 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0138/0.4778, allocations: 8.82 MB / 1.412 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.4881, allocations: 5.549 MB / 1.418 GB, free: 6.211 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008083/0.4961, allocations: 4.071 MB / 1.422 GB, free: 2.129 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007694/0.5038, allocations: 4.268 MB / 1.426 GB, free: 13.85 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002638/0.5065, allocations: 0.7148 MB / 1.426 GB, free: 13.13 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.5116, allocations: 1.748 MB / 1.428 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004591/0.5161, allocations: 2.899 MB / 1.431 GB, free: 8.477 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00677/0.5229, allocations: 3.392 MB / 1.434 GB, free: 5.07 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.017/0.5399, allocations: 11.21 MB / 1.445 GB, free: 9.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.5399, allocations: 4 kB / 1.445 GB, free: 9.816 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5399, allocations: 0 / 1.445 GB, free: 9.816 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004728/0.5404, allocations: 3.938 kB / 1.445 GB, free: 9.812 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01723/0.5576, allocations: 6.061 MB / 1.451 GB, free: 3.684 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.5577, allocations: 8.031 kB / 1.451 GB, free: 3.676 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001488/0.5578, allocations: 134.2 kB / 1.451 GB, free: 3.543 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002224/0.5601, allocations: 0.7271 MB / 1.452 GB, free: 2.805 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007496/0.5676, allocations: 1.164 MB / 1.453 GB, free: 1.637 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008959/0.5765, allocations: 3.462 MB / 1.456 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004856/0.577, allocations: 386.2 kB / 1.457 GB, free: 13.71 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002194/0.5792, allocations: 495.9 kB / 1.457 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.5991, allocations: 8.001 MB / 1.465 GB, free: 4.941 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/0.5994, allocations: 23.77 kB / 1.465 GB, free: 4.918 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.6009, allocations: 216 kB / 1.465 GB, free: 4.707 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001217/0.6021, allocations: 445.5 kB / 1.466 GB, free: 4.27 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.616, allocations: 6.081 MB / 1.472 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0514/0.6674, allocations: 34.66 MB / 1.506 GB, free: 8.328 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.6705, allocations: 1.905 MB / 1.507 GB, free: 6.414 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/0.6732, allocations: 1.74 MB / 1.509 GB, free: 4.672 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.6734, allocations: 21.94 kB / 1.509 GB, free: 4.652 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/0.6734, allocations: 64.56 kB / 1.509 GB, free: 4.578 MB / 1.201 GB Notification: Performance of pre-optimization done (n=171): time 5.069e-06/0.6734, allocations: 3.984 kB / 1.509 GB, free: 4.574 MB / 1.201 GB Notification: Performance of matching and sorting (n=276): time 0.1842/0.8576, allocations: 38.7 MB / 1.547 GB, free: 13.83 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.8577, allocations: 81.58 kB / 1.547 GB, free: 13.73 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.862, allocations: 2.282 MB / 1.549 GB, free: 11.44 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004778/0.8625, allocations: 73.7 kB / 1.549 GB, free: 11.36 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.8646, allocations: 2.338 MB / 1.552 GB, free: 9 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/0.8659, allocations: 0.9876 MB / 1.553 GB, free: 8.004 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.8674, allocations: 0.5025 MB / 1.553 GB, free: 7.492 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8675, allocations: 309.1 kB / 1.553 GB, free: 7.188 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.8708, allocations: 1.97 MB / 1.555 GB, free: 5.215 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/0.8747, allocations: 2.602 MB / 1.558 GB, free: 2.371 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007575/0.8823, allocations: 4.933 MB / 1.563 GB, free: 13.16 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.8823, allocations: 8 kB / 1.563 GB, free: 13.16 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01583/0.8981, allocations: 7.646 MB / 1.57 GB, free: 5.441 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.8982, allocations: 12 kB / 1.57 GB, free: 5.43 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.8982, allocations: 16 kB / 1.57 GB, free: 5.414 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009663/0.9079, allocations: 3.216 MB / 1.573 GB, free: 2.18 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.9096, allocations: 403.3 kB / 1.574 GB, free: 1.785 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7604/1.67, allocations: 33.29 MB / 1.606 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/1.673, allocations: 160.4 kB / 1.606 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004237/1.674, allocations: 111.6 kB / 1.606 GB, free: 236.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003867/1.678, allocations: 1.793 MB / 1.608 GB, free: 236.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009883/1.678, allocations: 350.8 kB / 1.609 GB, free: 236.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/1.694, allocations: 7.24 MB / 1.616 GB, free: 236.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-05/1.694, allocations: 27.08 kB / 1.616 GB, free: 236.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001247/1.694, allocations: 30.97 kB / 1.616 GB, free: 236.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.635e-05/1.694, allocations: 13.97 kB / 1.616 GB, free: 236.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/1.719, allocations: 12.79 MB / 1.628 GB, free: 231.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/1.719, allocations: 6.656 kB / 1.628 GB, free: 231.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/1.72, allocations: 232.4 kB / 1.628 GB, free: 231.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007904/1.728, allocations: 2.859 MB / 1.631 GB, free: 230.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003268/1.729, allocations: 53.62 kB / 1.631 GB, free: 230.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0361/1.765, allocations: 32.07 MB / 1.663 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.765, allocations: 11.31 kB / 1.663 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.775, allocations: 6.79 MB / 1.669 GB, free: 209.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.777, allocations: 0.7286 MB / 1.67 GB, free: 209 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006563/1.778, allocations: 49.5 kB / 1.67 GB, free: 208.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.78, allocations: 172.3 kB / 1.67 GB, free: 208.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000877/1.781, allocations: 266.8 kB / 1.67 GB, free: 208.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.781, allocations: 78.16 kB / 1.67 GB, free: 208.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002008/1.783, allocations: 1.528 MB / 1.672 GB, free: 207.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 7.1e-08/1.783, allocations: 0 / 1.672 GB, free: 207.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004407/1.787, allocations: 1.369 MB / 1.673 GB, free: 207.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01057/1.798, allocations: 7.416 MB / 1.681 GB, free: 201.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009543/1.807, allocations: 6.556 MB / 1.687 GB, free: 194.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.807, allocations: 4.875 kB / 1.687 GB, free: 194.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006576/1.814, allocations: 4.254 MB / 1.691 GB, free: 190.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/1.819, allocations: 1.117 MB / 1.692 GB, free: 189.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05559/1.874, allocations: 39.07 MB / 1.73 GB, free: 149 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003899/1.878, allocations: 3.643 MB / 1.734 GB, free: 145.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001853/1.88, allocations: 0.5634 MB / 1.734 GB, free: 144.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.882, allocations: 1.968 MB / 1.736 GB, free: 142.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/1.882, allocations: 3.938 kB / 1.736 GB, free: 142.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1633/2.045, allocations: 115.5 MB / 1.849 GB, free: 28.43 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/20.64, allocations: 7.859 kB / 1.849 GB, free: 28.43 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 28.874763565021567]