Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.00149/0.00149, 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.001656/0.001656, allocations: 215.8 kB / 23.03 MB, free: 4.926 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.064/3.064, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001887/0.001887, allocations: 66.5 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3395, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03572/0.3753, allocations: 29.25 MB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.3973, allocations: 13.17 MB / 1.387 GB, free: 5.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.4005, allocations: 186.6 kB / 1.387 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009022/0.4095, allocations: 3.204 MB / 1.39 GB, free: 2.016 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008388/0.4179, allocations: 2.747 MB / 1.393 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.4238, allocations: 2.03 MB / 1.395 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.4346, allocations: 7.622 MB / 1.402 GB, free: 5.578 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009413/0.4441, allocations: 4.646 MB / 1.407 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006918/0.451, allocations: 3.537 MB / 1.41 GB, free: 13.26 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006591/0.4576, allocations: 3.574 MB / 1.414 GB, free: 9.676 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.4597, allocations: 0.5977 MB / 1.414 GB, free: 9.078 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004347/0.4641, allocations: 1.408 MB / 1.416 GB, free: 7.668 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004103/0.4682, allocations: 2.424 MB / 1.418 GB, free: 5.238 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005497/0.4737, allocations: 2.331 MB / 1.42 GB, free: 2.898 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4869, allocations: 9.543 MB / 1.43 GB, free: 9.324 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4869, allocations: 0 / 1.43 GB, free: 9.324 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4869, allocations: 0 / 1.43 GB, free: 9.324 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002896/0.4872, allocations: 0 / 1.43 GB, free: 9.324 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01418/0.5014, allocations: 5.2 MB / 1.435 GB, free: 4.059 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5014, allocations: 12.03 kB / 1.435 GB, free: 4.047 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001494/0.5016, allocations: 112.7 kB / 1.435 GB, free: 3.934 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001889/0.5034, allocations: 0.6125 MB / 1.435 GB, free: 3.309 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/0.5102, allocations: 1.02 MB / 1.436 GB, free: 2.285 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/0.5175, allocations: 3.029 MB / 1.439 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.5178, allocations: 320.6 kB / 1.44 GB, free: 14.85 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.5192, allocations: 419.9 kB / 1.44 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.5334, allocations: 7.515 MB / 1.447 GB, free: 6.453 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.5335, allocations: 23.81 kB / 1.447 GB, free: 6.43 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005454/0.5341, allocations: 184 kB / 1.448 GB, free: 6.25 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008594/0.5349, allocations: 376 kB / 1.448 GB, free: 5.879 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.546, allocations: 5.11 MB / 1.453 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.5783, allocations: 19.79 MB / 1.472 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.5803, allocations: 1.304 MB / 1.473 GB, free: 11.12 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.5821, allocations: 1.254 MB / 1.475 GB, free: 9.871 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.543e-05/0.5822, allocations: 13.31 kB / 1.475 GB, free: 9.855 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.5822, allocations: 51.88 kB / 1.475 GB, free: 9.797 MB / 1.17 GB Notification: Performance of pre-optimization done (n=130): time 3.357e-06/0.5822, allocations: 4 kB / 1.475 GB, free: 9.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=199): time 0.1086/0.6908, allocations: 22.84 MB / 1.497 GB, free: 2.891 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.6909, allocations: 73.41 kB / 1.497 GB, free: 2.809 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.695, allocations: 2.059 MB / 1.499 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004262/0.6954, allocations: 61.7 kB / 1.499 GB, free: 0.668 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.6975, allocations: 2.07 MB / 1.501 GB, free: 14.58 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.6987, allocations: 0.7087 MB / 1.502 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.6997, allocations: 412.4 kB / 1.502 GB, free: 13.45 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6999, allocations: 305.1 kB / 1.503 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.7029, allocations: 1.43 MB / 1.504 GB, free: 11.72 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003601/0.7065, allocations: 2.013 MB / 1.506 GB, free: 9.449 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/0.7134, allocations: 3.696 MB / 1.51 GB, free: 5.516 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/0.7134, allocations: 4 kB / 1.51 GB, free: 5.512 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01496/0.7284, allocations: 5.6 MB / 1.515 GB, free: 15.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.7284, allocations: 16 kB / 1.515 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/0.7285, allocations: 16 kB / 1.515 GB, free: 15.81 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008758/0.7372, allocations: 2.088 MB / 1.517 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.7392, allocations: 375.4 kB / 1.517 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05109/0.7903, allocations: 36.28 MB / 1.553 GB, free: 6.949 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.7933, allocations: 127.9 kB / 1.553 GB, free: 6.824 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/0.7936, allocations: 92 kB / 1.553 GB, free: 6.734 MB / 1.248 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.003272/0.7968, allocations: 1.508 MB / 1.555 GB, free: 5.215 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007558/0.7976, allocations: 302.2 kB / 1.555 GB, free: 4.918 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.8116, allocations: 5.141 MB / 1.56 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/0.8116, allocations: 20 kB / 1.56 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-05/0.8116, allocations: 16 kB / 1.56 GB, free: 15.66 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-05/0.8117, allocations: 11.97 kB / 1.56 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/0.8332, allocations: 9.091 MB / 1.569 GB, free: 6.363 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.8332, allocations: 4 kB / 1.569 GB, free: 6.359 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009111/0.8341, allocations: 224.4 kB / 1.569 GB, free: 6.141 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006131/0.8403, allocations: 1.822 MB / 1.571 GB, free: 4.262 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.8405, allocations: 44 kB / 1.571 GB, free: 4.219 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.704/1.545, allocations: 35.3 MB / 1.605 GB, free: 233.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.545, allocations: 10.62 kB / 1.605 GB, free: 233.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009929/1.554, allocations: 4.859 MB / 1.61 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.556, allocations: 0.5551 MB / 1.611 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.557, allocations: 45.56 kB / 1.611 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.558, allocations: 125.7 kB / 1.611 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007388/1.559, allocations: 197.8 kB / 1.611 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.559, allocations: 59.36 kB / 1.611 GB, free: 232.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002361/1.561, allocations: 1.377 MB / 1.612 GB, free: 232.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.561, allocations: 0.5312 kB / 1.612 GB, free: 232.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003966/1.565, allocations: 1.052 MB / 1.613 GB, free: 232.6 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009693/1.575, allocations: 5.468 MB / 1.619 GB, free: 231.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009297/1.584, allocations: 6.013 MB / 1.625 GB, free: 228.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.584, allocations: 2.281 kB / 1.625 GB, free: 228.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006212/1.591, allocations: 4.278 MB / 1.629 GB, free: 225.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/1.595, allocations: 0.9875 MB / 1.63 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05108/1.646, allocations: 30.75 MB / 1.66 GB, free: 211 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/1.649, allocations: 2.582 MB / 1.662 GB, free: 210.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001799/1.651, allocations: 0.5231 MB / 1.663 GB, free: 210.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/1.653, allocations: 1.674 MB / 1.664 GB, free: 208.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.403e-06/1.653, allocations: 3.828 kB / 1.664 GB, free: 208.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/1.81, allocations: 94.77 MB / 1.757 GB, free: 118 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/18.56, allocations: 7.922 kB / 1.757 GB, free: 118 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 26.122872326988727]