Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.00175/0.00175, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002206/0.002206, allocations: 161.6 kB / 23.54 MB, free: 0.8945 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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.797/2.797, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.177e-05/4.337e-05, allocations: 6.844 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005834/0.005878, allocations: 3.215 MB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004133/0.01001, allocations: 1.961 MB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.01025, allocations: 12.94 kB / 0.8159 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01144, allocations: 291.9 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007503/0.01219, allocations: 244 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.01303, allocations: 290 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.01368, allocations: 422.6 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.01412, allocations: 164.8 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.01463, allocations: 229.2 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.01511, allocations: 183.5 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.01518, allocations: 24 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000524/0.0157, allocations: 250 kB / 0.8179 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.01591, allocations: 127.7 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.01609, allocations: 103.7 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008977/0.01699, allocations: 0.5062 MB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.01699, allocations: 0 / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.242e-06/0.017, allocations: 0 / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.01701, allocations: 0 / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001391/0.0184, allocations: 0.5334 MB / 0.8191 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.01844, allocations: 9.688 kB / 0.8191 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.01965, allocations: 161.6 kB / 0.8193 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.02011, allocations: 230.7 kB / 0.8195 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.02015, allocations: 21.42 kB / 0.8195 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.02029, allocations: 36.69 kB / 0.8195 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/0.02121, allocations: 0.5194 MB / 0.8201 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.02123, allocations: 2.188 kB / 0.8201 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.02128, allocations: 15.92 kB / 0.8201 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.02143, allocations: 40.47 kB / 0.8201 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.02218, allocations: 362.3 kB / 0.8205 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.02502, allocations: 1.594 MB / 0.822 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.02552, allocations: 246.4 kB / 0.8223 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.02577, allocations: 140.8 kB / 0.8224 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.0258, allocations: 4 kB / 0.8224 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.02584, allocations: 47.02 kB / 0.8224 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.02584, allocations: 1.125 kB / 0.8224 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.002086/0.02793, allocations: 0.9092 MB / 0.8233 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.02799, allocations: 59.2 kB / 0.8234 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.02836, allocations: 253.1 kB / 0.8236 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.02839, allocations: 29.7 kB / 0.8236 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.02855, allocations: 192.3 kB / 0.8238 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/0.02865, allocations: 87.28 kB / 0.8239 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.02882, allocations: 74.36 kB / 0.824 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.02901, allocations: 334.8 kB / 0.8243 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.02934, allocations: 164.5 kB / 0.8245 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.02975, allocations: 242.7 kB / 0.8247 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.03044, allocations: 409.8 kB / 0.8251 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03044, allocations: 0 / 0.8251 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00147/0.03191, allocations: 0.6145 MB / 0.8257 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.03193, allocations: 8 kB / 0.8257 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.03194, allocations: 0 / 0.8257 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.03334, allocations: 244.6 kB / 0.8259 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.0337, allocations: 63.89 kB / 0.826 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.03733, allocations: 2.365 MB / 0.8283 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.03776, allocations: 28.06 kB / 0.8283 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.0378, allocations: 16 kB / 0.8283 GB, free: 15.74 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.03802, allocations: 165.8 kB / 0.8285 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.0381, allocations: 35.8 kB / 0.8285 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.03875, allocations: 343.5 kB / 0.8289 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.03876, allocations: 7.938 kB / 0.8289 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.03877, allocations: 3.938 kB / 0.8289 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.03877, allocations: 0 / 0.8289 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.03996, allocations: 0.7103 MB / 0.8296 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03997, allocations: 0 / 0.8296 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.0404, allocations: 75.88 kB / 0.8296 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.04041, allocations: 4 kB / 0.8296 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.04044, allocations: 11.94 kB / 0.8296 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.04044, allocations: 0 / 0.8296 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.04044, allocations: 0 / 0.8296 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.04138, allocations: 0.6154 MB / 0.8303 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.04153, allocations: 59.8 kB / 0.8303 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.04158, allocations: 12.06 kB / 0.8303 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.04183, allocations: 7.984 kB / 0.8303 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.04188, allocations: 23.91 kB / 0.8303 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.0419, allocations: 8 kB / 0.8304 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002519/0.04216, allocations: 180.1 kB / 0.8305 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.04216, allocations: 0 / 0.8305 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004705/0.04263, allocations: 88 kB / 0.8306 GB, free: 13.33 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.04283, allocations: 111.2 kB / 0.8307 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.04393, allocations: 0.5175 MB / 0.8312 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.04393, allocations: 0 / 0.8312 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.04416, allocations: 138.7 kB / 0.8314 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.04466, allocations: 55.22 kB / 0.8314 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.04631, allocations: 0.747 MB / 0.8321 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.04657, allocations: 189.8 kB / 0.8323 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.0468, allocations: 82.09 kB / 0.8324 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.0469, allocations: 24.5 kB / 0.8324 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of SimCode: time 6.61e-07/0.0469, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of Templates: time 0.009963/0.05686, allocations: 4.191 MB / 0.8365 GB, free: 7.281 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.035327302059159]