Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001329/0.001329, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001886/0.003215, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001103/0.001103, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002606, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.015/1.015, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.123/1.138, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.584/2.584, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3407/2.924, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.793e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003922/0.00395, allocations: 3.348 MB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.006336, allocations: 1.239 MB / 0.8234 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.006586, allocations: 23.75 kB / 0.8234 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.007141, allocations: 158.9 kB / 0.8236 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.00765, allocations: 298.1 kB / 0.8239 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.008033, allocations: 231.5 kB / 0.8241 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.008673, allocations: 0.7257 MB / 0.8248 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.009006, allocations: 234.1 kB / 0.825 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.009521, allocations: 407.7 kB / 0.8254 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.009894, allocations: 263.3 kB / 0.8257 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.009935, allocations: 28 kB / 0.8257 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.01019, allocations: 99.73 kB / 0.8258 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.01031, allocations: 135.6 kB / 0.8259 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.01044, allocations: 131.7 kB / 0.826 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.0109, allocations: 382.5 kB / 0.8264 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-05/0.01092, allocations: 0 / 0.8264 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.675e-06/0.01092, allocations: 3.938 kB / 0.8264 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.4e-05/0.01095, allocations: 4 kB / 0.8264 GB, free: 10.8 MB / 0.8073 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.0009034/0.01185, allocations: 0.7448 MB / 0.8271 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.01189, allocations: 12.03 kB / 0.8271 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.01263, allocations: 277.5 kB / 0.8274 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.0131, allocations: 373.2 kB / 0.8278 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.01312, allocations: 25.36 kB / 0.8278 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.01317, allocations: 32.38 kB / 0.8278 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.01364, allocations: 0.5266 MB / 0.8283 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.01368, allocations: 11.89 kB / 0.8283 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.0137, allocations: 12 kB / 0.8284 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.01376, allocations: 43.97 kB / 0.8284 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.01399, allocations: 201.6 kB / 0.8286 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.016, allocations: 2.809 MB / 0.8313 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.01673, allocations: 0.5191 MB / 0.8318 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.0168, allocations: 62.56 kB / 0.8319 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.01683, allocations: 8 kB / 0.8319 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.01686, allocations: 38.5 kB / 0.8319 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 2.624e-06/0.01686, allocations: 0 / 0.8319 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0008779/0.01774, allocations: 437.3 kB / 0.8324 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.01779, allocations: 106.8 kB / 0.8325 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.01804, allocations: 363 kB / 0.8328 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.01806, allocations: 33.7 kB / 0.8328 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01818, allocations: 260.6 kB / 0.8331 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.401e-05/0.01826, allocations: 118.9 kB / 0.8332 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.01835, allocations: 98.23 kB / 0.8333 GB, free: 3.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01846, allocations: 350.7 kB / 0.8336 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.01853, allocations: 53.28 kB / 0.8337 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.0187, allocations: 260.2 kB / 0.8339 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.01901, allocations: 400 kB / 0.8343 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01901, allocations: 0 / 0.8343 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004336/0.01945, allocations: 404 kB / 0.8347 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.01947, allocations: 8 kB / 0.8347 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.01948, allocations: 8 kB / 0.8347 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.01971, allocations: 83.44 kB / 0.8348 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.01994, allocations: 115.8 kB / 0.8349 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.02244, allocations: 3.589 MB / 0.8384 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.02262, allocations: 19.94 kB / 0.8384 GB, free: 13.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.02265, allocations: 20.22 kB / 0.8384 GB, free: 13.53 MB / 0.823 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.0001323/0.02278, allocations: 152.5 kB / 0.8386 GB, free: 13.37 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.02285, allocations: 35.97 kB / 0.8386 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.0232, allocations: 275.5 kB / 0.8389 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.0232, allocations: 4 kB / 0.8389 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.0232, allocations: 0 / 0.8389 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.02321, allocations: 0 / 0.8389 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.02401, allocations: 0.8978 MB / 0.8398 GB, free: 12.08 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.02402, allocations: 4 kB / 0.8398 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.02413, allocations: 55.91 kB / 0.8398 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.02421, allocations: 55.7 kB / 0.8399 GB, free: 11.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.02437, allocations: 87.2 kB / 0.84 GB, free: 11.87 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.02438, allocations: 11.94 kB / 0.84 GB, free: 11.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.02616, allocations: 3.577 MB / 0.8435 GB, free: 7.984 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.02616, allocations: 7.938 kB / 0.8435 GB, free: 7.977 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.02703, allocations: 0.6747 MB / 0.8441 GB, free: 7.238 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.02706, allocations: 19.92 kB / 0.8442 GB, free: 7.219 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.02719, allocations: 8 kB / 0.8442 GB, free: 7.211 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.02724, allocations: 31.89 kB / 0.8442 GB, free: 7.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.02725, allocations: 12 kB / 0.8442 GB, free: 7.168 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001077/0.02736, allocations: 144.6 kB / 0.8443 GB, free: 7.023 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02736, allocations: 0 / 0.8443 GB, free: 7.023 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004466/0.02781, allocations: 124 kB / 0.8445 GB, free: 6.902 MB / 0.823 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.0001388/0.02794, allocations: 92.34 kB / 0.8445 GB, free: 6.801 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005709/0.02851, allocations: 0.5813 MB / 0.8451 GB, free: 6.184 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.578e-05/0.02854, allocations: 23.92 kB / 0.8451 GB, free: 6.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.02887, allocations: 474.9 kB / 0.8456 GB, free: 5.656 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.02975, allocations: 1.135 MB / 0.8467 GB, free: 4.309 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.03223, allocations: 0.8722 MB / 0.8475 GB, free: 3.367 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.03234, allocations: 145.7 kB / 0.8477 GB, free: 3.203 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.03249, allocations: 64.41 kB / 0.8477 GB, free: 3.137 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.03268, allocations: 141.3 kB / 0.8479 GB, free: 3 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/0.03268, allocations: 0 / 0.8479 GB, free: 3 MB / 0.823 GB Notification: Performance of Templates: time 0.009789/0.04247, allocations: 6.503 MB / 0.8542 GB, free: 12.62 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.801076018251479]