Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001478/0.001478, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001692/0.001692, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.627/2.627, allocations: 476.8 MB / 0.7715 GB, free: 3.844 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001952/0.001952, allocations: 76.64 kB / 1.118 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3081, allocations: 169.9 MB / 1.284 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0324/0.3405, allocations: 25.55 MB / 1.309 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3554, allocations: 8.079 MB / 1.317 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.3577, allocations: 150.8 kB / 1.317 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007712/0.3654, allocations: 2.763 MB / 1.32 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.3699, allocations: 1.668 MB / 1.321 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.3743, allocations: 1.682 MB / 1.323 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007786/0.3821, allocations: 6.139 MB / 1.329 GB, free: 5.148 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006584/0.3887, allocations: 3.785 MB / 1.333 GB, free: 1.277 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.3932, allocations: 2.664 MB / 1.335 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005367/0.3986, allocations: 3.006 MB / 1.338 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.4, allocations: 0.5078 MB / 1.339 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.4034, allocations: 1.201 MB / 1.34 GB, free: 9.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003182/0.4066, allocations: 2.108 MB / 1.342 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004208/0.4108, allocations: 1.93 MB / 1.344 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.421, allocations: 8.114 MB / 1.352 GB, free: 13.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.421, allocations: 0 / 1.352 GB, free: 13.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/0.421, allocations: 7.938 kB / 1.352 GB, free: 13.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000237/0.4213, allocations: 0 / 1.352 GB, free: 13.68 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01127/0.4325, allocations: 4.26 MB / 1.356 GB, free: 9.367 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4326, allocations: 12.03 kB / 1.356 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001349/0.4327, allocations: 99.48 kB / 1.356 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001617/0.4343, allocations: 0.5304 MB / 1.357 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.4392, allocations: 0.8218 MB / 1.357 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/0.4446, allocations: 2.534 MB / 1.36 GB, free: 5.293 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.4448, allocations: 275.6 kB / 1.36 GB, free: 5.023 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008233/0.4457, allocations: 372.2 kB / 1.361 GB, free: 4.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.456, allocations: 6.444 MB / 1.367 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.048e-05/0.4561, allocations: 19.88 kB / 1.367 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.4564, allocations: 160 kB / 1.367 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006053/0.457, allocations: 286.8 kB / 1.367 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007371/0.4644, allocations: 4.528 MB / 1.372 GB, free: 8.859 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.4884, allocations: 18 MB / 1.389 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.4901, allocations: 1.057 MB / 1.39 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.4915, allocations: 0.9525 MB / 1.391 GB, free: 4.32 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.4915, allocations: 17 kB / 1.391 GB, free: 4.305 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.4916, allocations: 51.5 kB / 1.391 GB, free: 4.242 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/0.4916, allocations: 0 / 1.391 GB, free: 4.242 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.02228/0.5139, allocations: 9.096 MB / 1.4 GB, free: 11.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.5139, allocations: 68.72 kB / 1.4 GB, free: 11 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.5164, allocations: 1.494 MB / 1.402 GB, free: 9.512 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5165, allocations: 45.7 kB / 1.402 GB, free: 9.461 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.5179, allocations: 1.711 MB / 1.403 GB, free: 7.734 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.5183, allocations: 491.8 kB / 1.404 GB, free: 7.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006039/0.5189, allocations: 327.4 kB / 1.404 GB, free: 6.922 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5191, allocations: 313 kB / 1.404 GB, free: 6.613 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.5205, allocations: 0.9135 MB / 1.405 GB, free: 5.699 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.5224, allocations: 1.463 MB / 1.407 GB, free: 3.996 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/0.5258, allocations: 2.554 MB / 1.409 GB, free: 1.203 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.5258, allocations: 4 kB / 1.409 GB, free: 1.199 MB / 1.107 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006241/0.5321, allocations: 3.275 MB / 1.412 GB, free: 13.88 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.5321, allocations: 16.25 kB / 1.413 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.5321, allocations: 20 kB / 1.413 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.5346, allocations: 0.7373 MB / 1.413 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.5361, allocations: 383.4 kB / 1.414 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.5533, allocations: 16.01 MB / 1.429 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.555, allocations: 107.9 kB / 1.429 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.5553, allocations: 76 kB / 1.429 GB, free: 11.48 MB / 1.139 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.00247/0.5577, allocations: 1.309 MB / 1.431 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/0.5583, allocations: 214.6 kB / 1.431 GB, free: 9.945 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005528/0.5638, allocations: 2.769 MB / 1.434 GB, free: 7.137 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5639, allocations: 16 kB / 1.434 GB, free: 7.121 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/0.5639, allocations: 4 kB / 1.434 GB, free: 7.117 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.5639, allocations: 11.91 kB / 1.434 GB, free: 7.105 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.5755, allocations: 5.881 MB / 1.439 GB, free: 1.066 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5755, allocations: 4 kB / 1.439 GB, free: 1.062 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.5767, allocations: 235.6 kB / 1.44 GB, free: 0.832 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.5788, allocations: 0.6677 MB / 1.44 GB, free: 140 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5789, allocations: 32 kB / 1.44 GB, free: 108 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.5954, allocations: 15.77 MB / 1.456 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.5955, allocations: 8 kB / 1.456 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006929/0.6024, allocations: 3.998 MB / 1.46 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.6034, allocations: 382.6 kB / 1.46 GB, free: 10.82 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/0.6039, allocations: 39.92 kB / 1.46 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.605, allocations: 79.89 kB / 1.46 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.6053, allocations: 124.7 kB / 1.46 GB, free: 10.58 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.6054, allocations: 36 kB / 1.46 GB, free: 10.55 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001655/0.6071, allocations: 0.9942 MB / 1.461 GB, free: 9.562 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6071, allocations: 0 / 1.461 GB, free: 9.562 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002422/0.6095, allocations: 0.6875 MB / 1.462 GB, free: 8.875 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.006916/0.6164, allocations: 4.596 MB / 1.466 GB, free: 4.148 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005444/0.6219, allocations: 3.378 MB / 1.47 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.6219, allocations: 0 / 1.47 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/0.6253, allocations: 2.249 MB / 1.472 GB, free: 14.29 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/0.6286, allocations: 0.6849 MB / 1.473 GB, free: 13.62 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0375/0.6661, allocations: 21.29 MB / 1.493 GB, free: 7.465 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004012/0.6702, allocations: 2.117 MB / 1.495 GB, free: 5.309 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001681/0.6718, allocations: 485.4 kB / 1.496 GB, free: 4.832 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/0.6737, allocations: 1.28 MB / 1.497 GB, free: 3.551 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/0.6737, allocations: 0 / 1.497 GB, free: 3.551 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/0.8052, allocations: 61.67 MB / 1.557 GB, free: 6.938 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.04, allocations: 13.05 kB / 1.557 GB, free: 6.934 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 23.636187999974936]