Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0006602/0.0006602, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007408/0.0007408, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8647/0.8647, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.738/1.738, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 4 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.274e-05, allocations: 9.172 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02269/0.02272, allocations: 33 MB / 1.032 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.03515, allocations: 11.37 MB / 1.043 GB, free: 0.9727 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.03744, allocations: 210.4 kB / 1.043 GB, free: 0.7656 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.4249/0.4623, allocations: 4.277 MB / 1.047 GB, free: 51.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004825/0.4671, allocations: 2.141 MB / 1.049 GB, free: 51.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/0.4716, allocations: 2.433 MB / 1.052 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.007315/0.479, allocations: 8.613 MB / 1.06 GB, free: 49.85 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.4858, allocations: 6.18 MB / 1.066 GB, free: 47.53 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007029/0.4928, allocations: 5.403 MB / 1.072 GB, free: 45.23 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00514/0.498, allocations: 3.9 MB / 1.075 GB, free: 44.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.002041/0.5, allocations: 0.782 MB / 1.076 GB, free: 44.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/0.504, allocations: 1.921 MB / 1.078 GB, free: 44.04 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.5071, allocations: 3.276 MB / 1.081 GB, free: 42.66 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004539/0.5116, allocations: 2.374 MB / 1.084 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.5278, allocations: 12.24 MB / 1.096 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5278, allocations: 4 kB / 1.096 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5278, allocations: 1.406 kB / 1.096 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000411/0.5282, allocations: 0 / 1.096 GB, free: 38.14 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01532/0.5435, allocations: 5.803 MB / 1.101 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5436, allocations: 11.5 kB / 1.101 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002043/0.5456, allocations: 0.8038 MB / 1.102 GB, free: 34.53 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.5503, allocations: 1.1 MB / 1.103 GB, free: 34.17 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008657/0.559, allocations: 3.415 MB / 1.106 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.5593, allocations: 412.5 kB / 1.107 GB, free: 32.48 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001899/0.5612, allocations: 0.5463 MB / 1.107 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/0.5791, allocations: 9.378 MB / 1.116 GB, free: 28.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/0.5793, allocations: 29.12 kB / 1.117 GB, free: 28.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008755/0.5802, allocations: 237.5 kB / 1.117 GB, free: 28.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003905/0.5806, allocations: 359.2 kB / 1.117 GB, free: 27.98 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.595, allocations: 6.822 MB / 1.124 GB, free: 25.71 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02976/0.6248, allocations: 25.09 MB / 1.148 GB, free: 8.926 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.627, allocations: 2.299 MB / 1.15 GB, free: 7.691 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.6286, allocations: 1.774 MB / 1.152 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.6287, allocations: 19.16 kB / 1.152 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.6287, allocations: 55.39 kB / 1.152 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 3.376e-06/0.6287, allocations: 5.234 kB / 1.152 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.01419/0.6429, allocations: 9.677 MB / 1.162 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.6429, allocations: 70.84 kB / 1.162 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.6442, allocations: 1.567 MB / 1.163 GB, free: 472 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.6444, allocations: 59.64 kB / 1.163 GB, free: 416 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.6454, allocations: 2.337 MB / 1.166 GB, free: 14.42 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006866/0.6461, allocations: 0.6509 MB / 1.166 GB, free: 13.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.6465, allocations: 411.2 kB / 1.167 GB, free: 13.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.6466, allocations: 301.1 kB / 1.167 GB, free: 13.33 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.6476, allocations: 1.174 MB / 1.168 GB, free: 12.72 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.649, allocations: 1.883 MB / 1.17 GB, free: 11.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.6518, allocations: 3.376 MB / 1.173 GB, free: 8.941 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.6518, allocations: 4.688 kB / 1.173 GB, free: 8.941 MB / 1.01 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005121/0.6569, allocations: 4.538 MB / 1.178 GB, free: 5.059 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.6569, allocations: 19.98 kB / 1.178 GB, free: 5.039 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.657, allocations: 20 kB / 1.178 GB, free: 5.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.6591, allocations: 1.571 MB / 1.179 GB, free: 3.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.6598, allocations: 356.4 kB / 1.18 GB, free: 3.098 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.6745, allocations: 17.95 MB / 1.197 GB, free: 0.7109 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.6761, allocations: 126.9 kB / 1.197 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.6762, allocations: 92 kB / 1.197 GB, free: 0.5 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003219/0.6794, allocations: 1.899 MB / 1.199 GB, free: 14.59 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/0.6798, allocations: 234.5 kB / 1.199 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/0.6839, allocations: 4.039 MB / 1.203 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.684, allocations: 16 kB / 1.203 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.684, allocations: 20 kB / 1.203 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.684, allocations: 8.344 kB / 1.203 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.6948, allocations: 8.66 MB / 1.212 GB, free: 1.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6948, allocations: 8 kB / 1.212 GB, free: 1.473 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.6953, allocations: 183.7 kB / 1.212 GB, free: 1.293 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.6972, allocations: 1.354 MB / 1.213 GB, free: 15.93 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.6973, allocations: 36 kB / 1.213 GB, free: 15.89 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.7116, allocations: 16.71 MB / 1.23 GB, free: 14.73 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7116, allocations: 7.938 kB / 1.23 GB, free: 14.73 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/0.7167, allocations: 4.032 MB / 1.234 GB, free: 10.6 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.7178, allocations: 473.8 kB / 1.234 GB, free: 10.14 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.718, allocations: 36 kB / 1.234 GB, free: 10.11 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.7185, allocations: 87.89 kB / 1.234 GB, free: 10.02 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.7189, allocations: 177.5 kB / 1.234 GB, free: 9.848 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.719, allocations: 48 kB / 1.234 GB, free: 9.801 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001063/0.72, allocations: 1.008 MB / 1.235 GB, free: 8.77 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.72, allocations: 0 / 1.235 GB, free: 8.77 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002612/0.7227, allocations: 0.9883 MB / 1.236 GB, free: 7.781 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004716/0.7274, allocations: 4.61 MB / 1.241 GB, free: 3.07 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.004538/0.7319, allocations: 4.158 MB / 1.245 GB, free: 14.91 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.7319, allocations: 320 / 1.245 GB, free: 14.91 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002909/0.7348, allocations: 2.582 MB / 1.248 GB, free: 12.28 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.7372, allocations: 0.7908 MB / 1.248 GB, free: 11.53 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/0.7712, allocations: 27.03 MB / 1.275 GB, free: 15.42 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/0.7746, allocations: 3.039 MB / 1.278 GB, free: 12.33 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001116/0.7757, allocations: 467.9 kB / 1.278 GB, free: 11.87 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/0.7773, allocations: 1.793 MB / 1.28 GB, free: 10.08 MB / 1.12 GB Notification: Performance of SimCode: time 1.032e-06/0.7773, allocations: 0 / 1.28 GB, free: 10.08 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.8855, allocations: 78.51 MB / 1.357 GB, free: 12.63 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/9.413, allocations: 4 kB / 1.357 GB, free: 12.62 MB / 1.198 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 13.74677277635783]