Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 182.8 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 1.061 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 160.8 MB / 1.218 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007224/1.119, allocations: 4.433 MB / 1.223 GB, free: 236 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004762/1.124, allocations: 2.462 MB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/1.124, allocations: 25.41 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/1.126, allocations: 379.4 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/1.127, allocations: 389.9 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/1.128, allocations: 326.3 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009575/1.129, allocations: 0.6879 MB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/1.129, allocations: 191.1 kB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/1.13, allocations: 263.8 kB / 1.227 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/1.13, allocations: 277.2 kB / 1.228 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/1.13, allocations: 29.09 kB / 1.228 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/1.131, allocations: 442.5 kB / 1.228 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/1.131, allocations: 147.7 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/1.132, allocations: 239.4 kB / 1.228 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/1.133, allocations: 0.7422 MB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.133, allocations: 0 / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/1.133, allocations: 0 / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.55e-05/1.133, allocations: 0 / 1.229 GB, free: 11.66 MB / 0.9356 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.00146/1.134, allocations: 0.8021 MB / 1.23 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.134, allocations: 9.344 kB / 1.23 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/1.136, allocations: 192.3 kB / 1.23 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/1.136, allocations: 439.6 kB / 1.231 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.136, allocations: 30.59 kB / 1.231 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/1.136, allocations: 34.14 kB / 1.231 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.138, allocations: 0.6461 MB / 1.231 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.138, allocations: 19.89 kB / 1.231 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/1.138, allocations: 19.98 kB / 1.231 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-05/1.138, allocations: 51.95 kB / 1.231 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/1.139, allocations: 497.3 kB / 1.232 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/1.142, allocations: 3.787 MB / 1.236 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/1.144, allocations: 0.6095 MB / 1.236 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/1.144, allocations: 158.5 kB / 1.236 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/1.144, allocations: 3.984 kB / 1.236 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.145, allocations: 46.5 kB / 1.236 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/1.145, allocations: 0 / 1.236 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002497/1.147, allocations: 1.295 MB / 1.238 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.147, allocations: 106.8 kB / 1.238 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/1.148, allocations: 401.8 kB / 1.238 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/1.148, allocations: 33.7 kB / 1.238 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/1.148, allocations: 284.1 kB / 1.238 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/1.148, allocations: 123 kB / 1.238 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.148, allocations: 102.2 kB / 1.239 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.148, allocations: 362.8 kB / 1.239 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.149, allocations: 181.2 kB / 1.239 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/1.149, allocations: 368.2 kB / 1.239 GB, free: 1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/1.15, allocations: 0.5874 MB / 1.24 GB, free: 328 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.15, allocations: 8.219 kB / 1.24 GB, free: 320 kB / 0.9356 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001153/1.151, allocations: 0.671 MB / 1.241 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.151, allocations: 8.781 kB / 1.241 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.151, allocations: 8.094 kB / 1.241 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/1.151, allocations: 106.2 kB / 1.241 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/1.152, allocations: 111.8 kB / 1.241 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/1.156, allocations: 4.348 MB / 1.245 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/1.156, allocations: 27.98 kB / 1.245 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/1.156, allocations: 28.14 kB / 1.245 GB, free: 10.56 MB / 0.9512 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.0003229/1.157, allocations: 203.8 kB / 1.245 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.157, allocations: 51.67 kB / 1.245 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/1.158, allocations: 0.5266 MB / 1.246 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.158, allocations: 4 kB / 1.246 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.158, allocations: 8 kB / 1.246 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.158, allocations: 0 / 1.246 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.16, allocations: 1.283 MB / 1.247 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.16, allocations: 4 kB / 1.247 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/1.16, allocations: 59.89 kB / 1.247 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/1.16, allocations: 86.8 kB / 1.247 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/1.16, allocations: 16 kB / 1.247 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/1.164, allocations: 4.341 MB / 1.252 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.164, allocations: 4 kB / 1.252 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.165, allocations: 0.7833 MB / 1.252 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/1.165, allocations: 152.8 kB / 1.253 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/1.165, allocations: 15.94 kB / 1.253 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/1.166, allocations: 23.97 kB / 1.253 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/1.166, allocations: 35.83 kB / 1.253 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/1.166, allocations: 12 kB / 1.253 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003377/1.166, allocations: 283.1 kB / 1.253 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.166, allocations: 0 / 1.253 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007352/1.167, allocations: 120 kB / 1.253 GB, free: 1.953 MB / 0.9512 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.0001825/1.167, allocations: 119.1 kB / 1.253 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.168, allocations: 0.7858 MB / 1.254 GB, free: 1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.168, allocations: 0 / 1.254 GB, free: 1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007582/1.169, allocations: 0.5312 MB / 1.254 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/1.17, allocations: 132.8 kB / 1.255 GB, free: 312 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/1.172, allocations: 0.924 MB / 1.255 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/1.172, allocations: 0.8624 MB / 1.256 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002569/1.172, allocations: 104.5 kB / 1.256 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/1.173, allocations: 35.44 kB / 1.256 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/1.173, allocations: 0 / 1.256 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.01281/1.185, allocations: 6.177 MB / 1.262 GB, free: 8.168 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.500318683683872]