Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001101/0.001101, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002783, 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.001093/0.001093, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002557, 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 0.9847/0.9847, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.088, allocations: 53.66 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.527/2.527, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3625/2.89, 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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.779e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005378/0.005416, allocations: 2.764 MB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.008664, allocations: 1.499 MB / 0.8231 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.008903, allocations: 11.88 kB / 0.8231 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.00949, allocations: 111.4 kB / 0.8232 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006921/0.01018, allocations: 218.7 kB / 0.8234 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.01108, allocations: 267.2 kB / 0.8237 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007677/0.01184, allocations: 438.5 kB / 0.8241 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.01232, allocations: 170.2 kB / 0.8242 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.01292, allocations: 243.5 kB / 0.8245 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.01353, allocations: 199.4 kB / 0.8247 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.164e-05/0.01363, allocations: 24 kB / 0.8247 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005533/0.01418, allocations: 183.6 kB / 0.8249 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.01436, allocations: 111.7 kB / 0.825 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.01451, allocations: 79.88 kB / 0.825 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.01516, allocations: 330.8 kB / 0.8254 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-05/0.01518, allocations: 0 / 0.8254 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01518, allocations: 0 / 0.8254 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.699e-05/0.0152, allocations: 0 / 0.8254 GB, free: 11.88 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001265/0.01647, allocations: 0.5541 MB / 0.8259 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.01652, allocations: 8.031 kB / 0.8259 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.01785, allocations: 229.7 kB / 0.8261 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.01833, allocations: 202.7 kB / 0.8263 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.01835, allocations: 16.88 kB / 0.8263 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.01852, allocations: 40.72 kB / 0.8264 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.01916, allocations: 370.6 kB / 0.8267 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.01918, allocations: 4.125 kB / 0.8267 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.01922, allocations: 27.86 kB / 0.8268 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.0194, allocations: 40.47 kB / 0.8268 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.01968, allocations: 103.3 kB / 0.8269 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.02182, allocations: 1.299 MB / 0.8282 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.02211, allocations: 165.6 kB / 0.8283 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.02221, allocations: 48.84 kB / 0.8284 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.02224, allocations: 4 kB / 0.8284 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.02228, allocations: 34.5 kB / 0.8284 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 6.432e-06/0.02229, allocations: 3.984 kB / 0.8284 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.001299/0.02358, allocations: 460.2 kB / 0.8289 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.02362, allocations: 55.41 kB / 0.8289 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.02387, allocations: 219.1 kB / 0.8291 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.0239, allocations: 29.7 kB / 0.8291 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.02403, allocations: 192.2 kB / 0.8293 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.02412, allocations: 91.2 kB / 0.8294 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.02426, allocations: 77.59 kB / 0.8295 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.02443, allocations: 334.8 kB / 0.8298 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.02454, allocations: 43.94 kB / 0.8298 GB, free: 7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.02471, allocations: 117.7 kB / 0.83 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.02503, allocations: 218.7 kB / 0.8302 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.02503, allocations: 0 / 0.8302 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007006/0.02573, allocations: 302.8 kB / 0.8305 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.02576, allocations: 8 kB / 0.8305 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.02578, allocations: 0 / 0.8305 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009263/0.0267, allocations: 203.6 kB / 0.8307 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.02697, allocations: 67.89 kB / 0.8307 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.02908, allocations: 1.569 MB / 0.8323 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.02934, allocations: 19.98 kB / 0.8323 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.02937, allocations: 8 kB / 0.8323 GB, free: 4.324 MB / 0.8073 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.0001655/0.02954, allocations: 128.7 kB / 0.8324 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.0296, allocations: 23.86 kB / 0.8324 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.02991, allocations: 162.1 kB / 0.8326 GB, free: 4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.02991, allocations: 7.984 kB / 0.8326 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02992, allocations: 7.969 kB / 0.8326 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.02992, allocations: 0 / 0.8326 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.0309, allocations: 444.1 kB / 0.833 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.0309, allocations: 0 / 0.833 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.03135, allocations: 103.8 kB / 0.8331 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.03144, allocations: 35.83 kB / 0.8332 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.03145, allocations: 4 kB / 0.8332 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.03148, allocations: 8 kB / 0.8332 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.03148, allocations: 8 kB / 0.8332 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.03149, allocations: 0 / 0.8332 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.03195, allocations: 340.2 kB / 0.8335 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.03201, allocations: 11.94 kB / 0.8335 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.03214, allocations: 7.984 kB / 0.8335 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.03218, allocations: 15.92 kB / 0.8335 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.0322, allocations: 12 kB / 0.8335 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001196/0.03232, allocations: 61.91 kB / 0.8336 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.2e-07/0.03232, allocations: 0 / 0.8336 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004707/0.03279, allocations: 96 kB / 0.8337 GB, free: 2.805 MB / 0.8073 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.0002777/0.03307, allocations: 92.34 kB / 0.8338 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007033/0.03377, allocations: 351.9 kB / 0.8341 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.109e-05/0.03379, allocations: 12.09 kB / 0.8341 GB, free: 2.332 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.03394, allocations: 81.2 kB / 0.8342 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.03455, allocations: 378.5 kB / 0.8346 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.03875, allocations: 0.6253 MB / 0.8352 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.03891, allocations: 120.3 kB / 0.8353 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.0391, allocations: 26.98 kB / 0.8353 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.03933, allocations: 91.34 kB / 0.8354 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of SimCode: time 2.204e-06/0.03933, allocations: 0 / 0.8354 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of Templates: time 0.0086/0.04793, allocations: 4.58 MB / 0.8399 GB, free: 12.37 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.691238019615412]