Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001943/0.001943, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002139/0.002139, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.809/2.809, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.556e-06/3.556e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.466e-05/4.822e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.008186/0.008234, allocations: 4.287 MB / 0.7906 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005378/0.01361, allocations: 2.421 MB / 0.7929 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.01393, allocations: 23.75 kB / 0.793 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.01523, allocations: 384.4 kB / 0.7933 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.01651, allocations: 392.7 kB / 0.7937 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.01739, allocations: 325.6 kB / 0.794 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009667/0.01836, allocations: 0.7023 MB / 0.7947 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.01883, allocations: 238 kB / 0.7949 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.01944, allocations: 371.6 kB / 0.7953 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.01987, allocations: 236 kB / 0.7955 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.01993, allocations: 29.22 kB / 0.7955 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007581/0.02069, allocations: 394.8 kB / 0.7959 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.02089, allocations: 155.5 kB / 0.796 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.02112, allocations: 159.6 kB / 0.7962 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.02219, allocations: 0.752 MB / 0.7969 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.0222, allocations: 1.125 kB / 0.7969 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/0.0222, allocations: 0 / 0.7969 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.02221, allocations: 0 / 0.7969 GB, free: 2.012 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001406/0.02361, allocations: 0.8548 MB / 0.7978 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.02365, allocations: 13.12 kB / 0.7978 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.02509, allocations: 264 kB / 0.798 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.02581, allocations: 389.8 kB / 0.7984 GB, free: 460 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.02585, allocations: 32.14 kB / 0.7984 GB, free: 432 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.02592, allocations: 36.36 kB / 0.7985 GB, free: 396 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009705/0.02689, allocations: 0.6566 MB / 0.7991 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.02691, allocations: 4.125 kB / 0.7991 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.02696, allocations: 20.36 kB / 0.7991 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.02706, allocations: 55.84 kB / 0.7992 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.02763, allocations: 293 kB / 0.7995 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.03228, allocations: 4.338 MB / 0.8037 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.03394, allocations: 498.5 kB / 0.8042 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.03413, allocations: 83.7 kB / 0.8043 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.03416, allocations: 4 kB / 0.8043 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.0342, allocations: 50.5 kB / 0.8043 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.03421, allocations: 0 / 0.8043 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002004/0.03621, allocations: 0.7477 MB / 0.805 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/0.03629, allocations: 106.8 kB / 0.8051 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.03682, allocations: 490.5 kB / 0.8056 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.03685, allocations: 37.64 kB / 0.8056 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.03717, allocations: 342.8 kB / 0.806 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.03729, allocations: 131 kB / 0.8061 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.03747, allocations: 116.8 kB / 0.8062 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003121/0.03778, allocations: 0.5352 MB / 0.8067 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.03798, allocations: 98.33 kB / 0.8068 GB, free: 7.383 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.03846, allocations: 397 kB / 0.8072 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009975/0.03946, allocations: 0.5255 MB / 0.8077 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.03946, allocations: 4 kB / 0.8077 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001021/0.04049, allocations: 0.5389 MB / 0.8082 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.04051, allocations: 8 kB / 0.8083 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.04052, allocations: 8 kB / 0.8083 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.04094, allocations: 99.47 kB / 0.8084 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.04133, allocations: 107.8 kB / 0.8085 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/0.04597, allocations: 5.317 MB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.04632, allocations: 31.97 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.04636, allocations: 24 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002609/0.04663, allocations: 212.6 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.04675, allocations: 59.66 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.0478, allocations: 360 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.04781, allocations: 4 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.04781, allocations: 4 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.04782, allocations: 0 / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.04966, allocations: 1.177 MB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.04966, allocations: 4 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.04992, allocations: 63.89 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.05021, allocations: 87.22 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.05024, allocations: 12 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.0548, allocations: 5.299 MB / 0.8208 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.0548, allocations: 7.938 kB / 0.8208 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.05613, allocations: 0.8055 MB / 0.8216 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.05632, allocations: 63.69 kB / 0.8217 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.05639, allocations: 24.17 kB / 0.8217 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.05667, allocations: 15.98 kB / 0.8217 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.05676, allocations: 35.88 kB / 0.8217 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.05678, allocations: 16 kB / 0.8217 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003481/0.05713, allocations: 311 kB / 0.822 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.05713, allocations: 0 / 0.822 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007365/0.05787, allocations: 124 kB / 0.8222 GB, free: 6.461 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.05804, allocations: 115.1 kB / 0.8223 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.05939, allocations: 0.8277 MB / 0.8231 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.05939, allocations: 0 / 0.8231 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/0.06024, allocations: 0.657 MB / 0.8237 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008865/0.06113, allocations: 125.3 kB / 0.8238 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.06271, allocations: 0.884 MB / 0.8247 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.06302, allocations: 256.3 kB / 0.8249 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.06327, allocations: 88.33 kB / 0.825 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.06336, allocations: 36.5 kB / 0.8251 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.06336, allocations: 0 / 0.8251 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.01332/0.07668, allocations: 5.935 MB / 0.8309 GB, free: 13.47 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: 8.170333345071413]