Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.002371/0.002371, allocations: 113 kB / 18.94 MB, free: 2.934 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.003122/0.003122, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 8.02 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.188/3.188, allocations: 0.505 GB / 0.8101 GB, free: 21.99 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.001984/0.001984, allocations: 66.73 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3318, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01103/0.3428, allocations: 5.764 MB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005025/0.3478, allocations: 2.782 MB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.3483, allocations: 39.69 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.3504, allocations: 0.6984 MB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.3515, allocations: 421.7 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3526, allocations: 421.7 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.3539, allocations: 0.9633 MB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.3546, allocations: 378.6 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.3553, allocations: 390.5 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007132/0.356, allocations: 434.3 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.3561, allocations: 48 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.3568, allocations: 371.2 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.3571, allocations: 255.2 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.3575, allocations: 350.2 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.3588, allocations: 0.9806 MB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3588, allocations: 3.938 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3588, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.3588, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001803/0.3606, allocations: 0.9247 MB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3606, allocations: 8.031 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.3607, allocations: 102.7 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.3621, allocations: 196.2 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.3629, allocations: 464.9 kB / 1.368 GB, free: 8.418 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.363, allocations: 45.3 kB / 1.368 GB, free: 8.371 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.3631, allocations: 56.5 kB / 1.368 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.3644, allocations: 0.8394 MB / 1.369 GB, free: 7.391 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.3644, allocations: 3.938 kB / 1.369 GB, free: 7.387 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.3644, allocations: 23.98 kB / 1.369 GB, free: 7.363 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.3646, allocations: 64.95 kB / 1.369 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009345/0.3656, allocations: 0.5736 MB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/0.3704, allocations: 4.501 MB / 1.374 GB, free: 1.895 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.3709, allocations: 279.2 kB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.3713, allocations: 217.3 kB / 1.375 GB, free: 1.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3713, allocations: 4.281 kB / 1.375 GB, free: 1.395 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3713, allocations: 34.84 kB / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.3713, allocations: 0 / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.00574/0.3771, allocations: 2.327 MB / 1.377 GB, free: 14.97 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3771, allocations: 59.39 kB / 1.377 GB, free: 14.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.3777, allocations: 470 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.3777, allocations: 37.7 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.378, allocations: 348.5 kB / 1.378 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3781, allocations: 146.7 kB / 1.378 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.3783, allocations: 114.2 kB / 1.378 GB, free: 13.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3785, allocations: 358.8 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3788, allocations: 237.2 kB / 1.379 GB, free: 13.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.3794, allocations: 411.3 kB / 1.379 GB, free: 12.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/0.3803, allocations: 0.6779 MB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3803, allocations: 4 kB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001758/0.3821, allocations: 0.9132 MB / 1.381 GB, free: 11.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3821, allocations: 8.656 kB / 1.381 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3821, allocations: 8 kB / 1.381 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008166/0.383, allocations: 222.3 kB / 1.381 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3835, allocations: 119.9 kB / 1.381 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/0.3891, allocations: 5.037 MB / 1.386 GB, free: 5.277 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.3895, allocations: 27.97 kB / 1.386 GB, free: 5.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.3896, allocations: 24 kB / 1.386 GB, free: 5.227 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003177/0.3899, allocations: 225.6 kB / 1.386 GB, free: 4.996 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.39, allocations: 63.56 kB / 1.386 GB, free: 4.934 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.3916, allocations: 0.7619 MB / 1.387 GB, free: 4.152 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3916, allocations: 4 kB / 1.387 GB, free: 4.148 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3916, allocations: 4 kB / 1.387 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3916, allocations: 4 kB / 1.387 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.3943, allocations: 1.463 MB / 1.389 GB, free: 2.598 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3943, allocations: 4 kB / 1.389 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.3947, allocations: 71.81 kB / 1.389 GB, free: 2.523 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007175/0.3954, allocations: 202.6 kB / 1.389 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.3954, allocations: 12 kB / 1.389 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.401, allocations: 4.971 MB / 1.394 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.401, allocations: 0 / 1.394 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.4029, allocations: 1.139 MB / 1.395 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.4032, allocations: 95.52 kB / 1.395 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.4033, allocations: 8 kB / 1.395 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.4036, allocations: 28.16 kB / 1.395 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4037, allocations: 40.08 kB / 1.395 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.4037, allocations: 20 kB / 1.395 GB, free: 11.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004225/0.4042, allocations: 318.8 kB / 1.395 GB, free: 11.31 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4042, allocations: 0 / 1.395 GB, free: 11.31 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000713/0.4049, allocations: 168 kB / 1.395 GB, free: 11.14 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002282/0.4072, allocations: 1.696 MB / 1.397 GB, free: 9.387 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.4089, allocations: 0.9659 MB / 1.398 GB, free: 8.383 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.4089, allocations: 4 kB / 1.398 GB, free: 8.379 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4099, allocations: 0.6564 MB / 1.399 GB, free: 7.684 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.4109, allocations: 182.7 kB / 1.399 GB, free: 7.508 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/0.4198, allocations: 5.664 MB / 1.404 GB, free: 1.566 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.4205, allocations: 0.9454 MB / 1.405 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.4209, allocations: 113 kB / 1.405 GB, free: 492 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.4213, allocations: 215.4 kB / 1.406 GB, free: 276 kB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/0.4213, allocations: 0 / 1.406 GB, free: 276 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.4777, allocations: 14.75 MB / 1.42 GB, free: 1.789 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.97, allocations: 4.062 kB / 1.42 GB, free: 1.785 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.574534391984344]