Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001002/0.001002, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 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.001512/0.001512, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.9215/0.9215, allocations: 177.1 MB / 203.4 MB, free: 5.66 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 2.007/2.007, allocations: 429.5 MB / 0.6732 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.617e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.007963/0.007989, allocations: 9.296 MB / 0.8872 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.0122, allocations: 2.823 MB / 0.89 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.01312, allocations: 89.03 kB / 0.8901 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.01402, allocations: 329.8 kB / 0.8904 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.01512, allocations: 0.6732 MB / 0.8911 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.01614, allocations: 0.6303 MB / 0.8917 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.01922, allocations: 3.602 MB / 0.8952 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.02177, allocations: 2.456 MB / 0.8976 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.02449, allocations: 2.261 MB / 0.8998 GB, free: 44 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.02647, allocations: 1.797 MB / 0.9016 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006465/0.02711, allocations: 336 kB / 0.9019 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.02789, allocations: 479.6 kB / 0.9023 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.02894, allocations: 1.43 MB / 0.9037 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.03002, allocations: 1.029 MB / 0.9047 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.03235, allocations: 2.677 MB / 0.9073 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.03235, allocations: 3.938 kB / 0.9073 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.03235, allocations: 3.938 kB / 0.9074 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.149e-05/0.03241, allocations: 0 / 0.9074 GB, free: 8.289 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.002929/0.03533, allocations: 2.793 MB / 0.9101 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.03538, allocations: 12.03 kB / 0.9101 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.03765, allocations: 1.204 MB / 0.9113 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.03921, allocations: 1.431 MB / 0.9127 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/0.0393, allocations: 177.1 kB / 0.9128 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.03955, allocations: 240.3 kB / 0.9131 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.04273, allocations: 2.323 MB / 0.9153 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.04278, allocations: 4.188 kB / 0.9153 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.04294, allocations: 100.4 kB / 0.9154 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.04307, allocations: 172.4 kB / 0.9156 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.04492, allocations: 0.9908 MB / 0.9166 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008951/0.05387, allocations: 10.76 MB / 0.9271 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.0556, allocations: 1.051 MB / 0.9281 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.05591, allocations: 224.8 kB / 0.9283 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.617e-05/0.05599, allocations: 28.64 kB / 0.9283 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.05602, allocations: 49.98 kB / 0.9284 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 3.686e-06/0.05602, allocations: 0 / 0.9284 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002624/0.05865, allocations: 2.006 MB / 0.9303 GB, free: 4 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.0587, allocations: 119.5 kB / 0.9305 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/0.05947, allocations: 0.9326 MB / 0.9314 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.0595, allocations: 37.7 kB / 0.9314 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.05999, allocations: 1.207 MB / 0.9326 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.06015, allocations: 289.6 kB / 0.9329 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.06041, allocations: 297 kB / 0.9331 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.06062, allocations: 0.6133 MB / 0.9337 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.0609, allocations: 191.9 kB / 0.9339 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/0.06178, allocations: 1.025 MB / 0.9349 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.06275, allocations: 1.314 MB / 0.9362 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.06276, allocations: 4 kB / 0.9362 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001391/0.06415, allocations: 1.207 MB / 0.9374 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.06418, allocations: 16 kB / 0.9374 GB, free: 7.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.0642, allocations: 20.12 kB / 0.9374 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.06444, allocations: 118.7 kB / 0.9375 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.06508, allocations: 339.3 kB / 0.9379 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/0.06511, allocations: 39.86 kB / 0.9379 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.0656, allocations: 135.7 kB / 0.938 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/0.06567, allocations: 71.98 kB / 0.9381 GB, free: 7.203 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000417/0.06609, allocations: 248 kB / 0.9383 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.06624, allocations: 131.3 kB / 0.9385 GB, free: 6.82 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008577/0.06709, allocations: 0.6383 MB / 0.9391 GB, free: 6.148 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.0671, allocations: 8 kB / 0.9391 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.06711, allocations: 0 / 0.9391 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.06712, allocations: 7.984 kB / 0.9391 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.07039, allocations: 2.391 MB / 0.9414 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.0704, allocations: 4 kB / 0.9414 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.07073, allocations: 159.8 kB / 0.9416 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001651/0.07089, allocations: 86.69 kB / 0.9417 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.07093, allocations: 23.92 kB / 0.9417 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.07094, allocations: 8 kB / 0.9417 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.07094, allocations: 0 / 0.9417 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/0.07189, allocations: 1.07 MB / 0.9427 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.07217, allocations: 183.2 kB / 0.9429 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.07225, allocations: 19.95 kB / 0.9429 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.07256, allocations: 63.91 kB / 0.943 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.07265, allocations: 56.55 kB / 0.9431 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.07269, allocations: 31.88 kB / 0.9431 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004568/0.07314, allocations: 0.5074 MB / 0.9436 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.6e-07/0.07314, allocations: 0 / 0.9436 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001022/0.07416, allocations: 392 kB / 0.944 GB, free: 0.9609 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001997/0.07436, allocations: 134.1 kB / 0.9441 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.07544, allocations: 0.7455 MB / 0.9448 GB, free: 64 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.07545, allocations: 4.125 kB / 0.9448 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.07578, allocations: 308.8 kB / 0.9451 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.07663, allocations: 267.2 kB / 0.9454 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.08088, allocations: 3.307 MB / 0.9486 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.08133, allocations: 0.575 MB / 0.9492 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006258/0.08196, allocations: 377.2 kB / 0.9495 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.08212, allocations: 84.48 kB / 0.9496 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of SimCode: time 1.313e-06/0.08212, allocations: 0 / 0.9496 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.01818/0.1003, allocations: 13.41 MB / 0.9627 GB, free: 13.9 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.35167636629194]