Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001546/0.001546, allocations: 111.7 kB / 18.88 MB, free: 2.871 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.001927/0.001927, allocations: 202.4 kB / 22.17 MB, free: 5.176 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.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.938/0.94, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006284/0.9463, allocations: 3.393 MB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004295/0.9506, allocations: 2.065 MB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.9509, allocations: 11.88 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.9521, allocations: 310.8 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007856/0.9528, allocations: 230.9 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.9538, allocations: 291.3 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007229/0.9545, allocations: 406.7 kB / 1.281 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.9549, allocations: 152.1 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.9553, allocations: 163.4 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.9558, allocations: 211.3 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.9559, allocations: 24 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.9565, allocations: 271.5 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.9567, allocations: 127.6 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.9569, allocations: 155.2 kB / 1.282 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009073/0.9578, allocations: 485.2 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.9578, allocations: 3.938 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9578, allocations: 0 / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.9578, allocations: 0 / 1.282 GB, free: 12.3 MB / 0.9825 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.001496/0.9593, allocations: 0.6037 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.9594, allocations: 12.03 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9605, allocations: 120.6 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.961, allocations: 277.8 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.9611, allocations: 20.92 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.9612, allocations: 36.69 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/0.9621, allocations: 461 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.9621, allocations: 3.984 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.9621, allocations: 12 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.9623, allocations: 36.53 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.963, allocations: 365.9 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.9663, allocations: 2.222 MB / 1.286 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.9668, allocations: 242.4 kB / 1.286 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.967, allocations: 148.8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.967, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.967, allocations: 38.56 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.143e-06/0.967, allocations: 0 / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002034/0.9691, allocations: 1.053 MB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.9691, allocations: 59.41 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.9695, allocations: 257 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.9695, allocations: 37.64 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.9697, allocations: 188.3 kB / 1.288 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.9698, allocations: 87.28 kB / 1.288 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.9699, allocations: 81.62 kB / 1.288 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9701, allocations: 330.8 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.9704, allocations: 163.9 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.9708, allocations: 253.4 kB / 1.289 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/0.9714, allocations: 402.9 kB / 1.289 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9714, allocations: 4 kB / 1.289 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001859/0.9733, allocations: 0.5939 MB / 1.29 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.9733, allocations: 8 kB / 1.29 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.9733, allocations: 7.984 kB / 1.29 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.9743, allocations: 188.8 kB / 1.29 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.9748, allocations: 63.89 kB / 1.29 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.9795, allocations: 2.496 MB / 1.293 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.9802, allocations: 27.97 kB / 1.293 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.9802, allocations: 12 kB / 1.293 GB, free: 0.7891 MB / 0.9825 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.0003074/0.9805, allocations: 173.8 kB / 1.293 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.9806, allocations: 23.8 kB / 1.293 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.9815, allocations: 361.9 kB / 1.293 GB, free: 228 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.9815, allocations: 4 kB / 1.293 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.9815, allocations: 0 / 1.293 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9815, allocations: 3.984 kB / 1.293 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.9834, allocations: 0.8084 MB / 1.294 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9834, allocations: 4.062 kB / 1.294 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.984, allocations: 75.88 kB / 1.294 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.984, allocations: 0 / 1.294 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.9841, allocations: 8 kB / 1.294 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.9841, allocations: 4 kB / 1.294 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9841, allocations: 0 / 1.294 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.9853, allocations: 0.6143 MB / 1.295 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.9856, allocations: 129 kB / 1.295 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.9857, allocations: 11.94 kB / 1.295 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.986, allocations: 15.97 kB / 1.295 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.9861, allocations: 15.92 kB / 1.295 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.9861, allocations: 8 kB / 1.295 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003792/0.9865, allocations: 188.5 kB / 1.295 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9865, allocations: 4 kB / 1.295 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007011/0.9872, allocations: 88 kB / 1.295 GB, free: 14.15 MB / 0.9981 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.0002249/0.9874, allocations: 103.8 kB / 1.295 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.9888, allocations: 0.519 MB / 1.296 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.9888, allocations: 0 / 1.296 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.9891, allocations: 139.8 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.9898, allocations: 70.77 kB / 1.296 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.9921, allocations: 0.8484 MB / 1.297 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.9927, allocations: 0.7989 MB / 1.298 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003286/0.993, allocations: 74.91 kB / 1.298 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.9932, allocations: 31.42 kB / 1.298 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9932, allocations: 0 / 1.298 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.01339/1.007, allocations: 4.331 MB / 1.302 GB, free: 7.195 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.004414571914822]