Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001644/0.001644, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002149/0.002149, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.777 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 2.977/2.977, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] 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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.00191/0.00191, allocations: 65.31 kB / 1.171 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3314, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02655/0.358, allocations: 22.21 MB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.37, allocations: 6.438 MB / 1.373 GB, free: 3.156 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.3719, allocations: 127.1 kB / 1.373 GB, free: 3.031 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.3756, allocations: 1.511 MB / 1.375 GB, free: 1.516 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.38, allocations: 1.941 MB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.3833, allocations: 1.468 MB / 1.378 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00778/0.3911, allocations: 6.905 MB / 1.385 GB, free: 7.172 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005584/0.3967, allocations: 3.761 MB / 1.389 GB, free: 3.312 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.4009, allocations: 2.941 MB / 1.391 GB, free: 372 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005378/0.4063, allocations: 3.731 MB / 1.395 GB, free: 12.62 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008247/0.4071, allocations: 0.5273 MB / 1.396 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.4094, allocations: 1.116 MB / 1.397 GB, free: 10.98 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002499/0.4119, allocations: 2.537 MB / 1.399 GB, free: 8.434 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.4145, allocations: 2.054 MB / 1.401 GB, free: 6.371 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008969/0.4234, allocations: 8.582 MB / 1.41 GB, free: 13.76 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4234, allocations: 0 / 1.41 GB, free: 13.76 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4234, allocations: 0 / 1.41 GB, free: 13.76 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002244/0.4237, allocations: 0 / 1.41 GB, free: 13.76 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00941/0.4331, allocations: 4.472 MB / 1.414 GB, free: 9.234 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4331, allocations: 12.03 kB / 1.414 GB, free: 9.223 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000124/0.4332, allocations: 99.55 kB / 1.414 GB, free: 9.125 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009279/0.4342, allocations: 0.5753 MB / 1.415 GB, free: 8.539 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008355/0.4425, allocations: 1.699 MB / 1.416 GB, free: 6.836 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/0.4486, allocations: 2.665 MB / 1.419 GB, free: 4.125 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.4488, allocations: 279.6 kB / 1.419 GB, free: 3.852 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.4499, allocations: 364.2 kB / 1.42 GB, free: 3.496 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.4621, allocations: 7.716 MB / 1.427 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.658e-05/0.4622, allocations: 11.94 kB / 1.427 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004107/0.4626, allocations: 163.9 kB / 1.427 GB, free: 11.29 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005808/0.4632, allocations: 487.3 kB / 1.428 GB, free: 10.81 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009315/0.4725, allocations: 5.693 MB / 1.433 GB, free: 5.109 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03096/0.5034, allocations: 20.56 MB / 1.453 GB, free: 76 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.5064, allocations: 2.019 MB / 1.455 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.5093, allocations: 2.104 MB / 1.457 GB, free: 11.94 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.5094, allocations: 17.31 kB / 1.457 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.5095, allocations: 47.88 kB / 1.457 GB, free: 11.87 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.767e-06/0.5095, allocations: 0 / 1.457 GB, free: 11.87 MB / 1.154 GB Notification: Performance of matching and sorting (n=251): time 0.2644/0.7739, allocations: 76.71 MB / 1.532 GB, free: 15.03 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.774, allocations: 77.41 kB / 1.532 GB, free: 14.94 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.7766, allocations: 1.678 MB / 1.534 GB, free: 13.22 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003908/0.777, allocations: 65.7 kB / 1.534 GB, free: 13.15 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.7783, allocations: 1.792 MB / 1.536 GB, free: 11.34 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.7794, allocations: 0.8984 MB / 1.537 GB, free: 10.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.7806, allocations: 489.4 kB / 1.537 GB, free: 9.949 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7807, allocations: 309.1 kB / 1.537 GB, free: 9.645 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/0.7847, allocations: 2.73 MB / 1.54 GB, free: 6.91 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/0.7892, allocations: 3.332 MB / 1.543 GB, free: 3.332 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008976/0.7982, allocations: 6.389 MB / 1.55 GB, free: 12.7 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/0.7982, allocations: 8 kB / 1.55 GB, free: 12.7 MB / 1.248 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03215/0.8304, allocations: 14.41 MB / 1.564 GB, free: 14.23 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.8304, allocations: 12 kB / 1.564 GB, free: 14.22 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.8304, allocations: 20.12 kB / 1.564 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02875/0.8592, allocations: 9.196 MB / 1.573 GB, free: 4.98 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.8603, allocations: 295.5 kB / 1.573 GB, free: 4.691 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7243/1.585, allocations: 51.04 MB / 1.623 GB, free: 232.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/1.587, allocations: 220.6 kB / 1.623 GB, free: 232.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/1.588, allocations: 98.55 kB / 1.623 GB, free: 232.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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002686/1.59, allocations: 1.585 MB / 1.625 GB, free: 232.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/1.591, allocations: 258.3 kB / 1.625 GB, free: 232.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02971/1.62, allocations: 14.48 MB / 1.639 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.878e-05/1.621, allocations: 23.66 kB / 1.639 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002974/1.621, allocations: 52.28 kB / 1.639 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.463e-05/1.621, allocations: 11.58 kB / 1.639 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03441/1.655, allocations: 19.51 MB / 1.658 GB, free: 222.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/1.655, allocations: 7.781 kB / 1.658 GB, free: 222.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/1.656, allocations: 163.9 kB / 1.658 GB, free: 222.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02419/1.68, allocations: 8.986 MB / 1.667 GB, free: 218.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004064/1.681, allocations: 43.66 kB / 1.667 GB, free: 218.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06096/1.742, allocations: 50.61 MB / 1.717 GB, free: 169.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.742, allocations: 11.94 kB / 1.717 GB, free: 169.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02417/1.766, allocations: 14.1 MB / 1.73 GB, free: 155 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.768, allocations: 0.7806 MB / 1.731 GB, free: 154.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/1.768, allocations: 48 kB / 1.731 GB, free: 154.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.77, allocations: 211.7 kB / 1.731 GB, free: 154 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/1.771, allocations: 253.3 kB / 1.732 GB, free: 153.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/1.771, allocations: 68 kB / 1.732 GB, free: 153.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001189/1.772, allocations: 1.125 MB / 1.733 GB, free: 152.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.772, allocations: 0 / 1.733 GB, free: 152.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00428/1.777, allocations: 1.617 MB / 1.734 GB, free: 150.9 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03898/1.816, allocations: 14.7 MB / 1.749 GB, free: 136.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01916/1.835, allocations: 10.21 MB / 1.759 GB, free: 125.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/1.835, allocations: 0 / 1.759 GB, free: 125.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01403/1.849, allocations: 7.017 MB / 1.766 GB, free: 118.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/1.852, allocations: 0.5618 MB / 1.766 GB, free: 118.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07429/1.926, allocations: 50.5 MB / 1.815 GB, free: 66.67 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/1.929, allocations: 2.681 MB / 1.818 GB, free: 63.95 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009607/1.93, allocations: 399.3 kB / 1.818 GB, free: 63.56 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.931, allocations: 1.464 MB / 1.82 GB, free: 62.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.413e-06/1.931, allocations: 0 / 1.82 GB, free: 62.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2323/2.163, allocations: 128.7 MB / 1.946 GB, free: 14.12 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/18.42, allocations: 4.062 kB / 1.946 GB, free: 14.12 MB / 1.373 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 25.837359916069545]