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.001311/0.001311, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001484/0.001484, allocations: 210.9 kB / 23 MB, free: 4.934 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.246/3.246, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 69.06 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4149, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005568/0.4205, allocations: 3.241 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003914/0.4244, allocations: 1.975 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.4246, allocations: 7.938 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4256, allocations: 292.2 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006115/0.4262, allocations: 242.9 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.4269, allocations: 295.2 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.4275, allocations: 406.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.4278, allocations: 176.2 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.4281, allocations: 171.5 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.4285, allocations: 211.3 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.4285, allocations: 24 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.429, allocations: 259.4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.4291, allocations: 115.7 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.4293, allocations: 127.4 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.43, allocations: 498.2 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.43, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.43, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.43, allocations: 3.938 kB / 1.335 GB, free: 8.984 MB / 1.029 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.001216/0.4312, allocations: 0.5284 MB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4312, allocations: 11.97 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.4323, allocations: 120.6 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.4328, allocations: 219.5 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.4328, allocations: 16.88 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4329, allocations: 32.73 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.4339, allocations: 0.5258 MB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.4339, allocations: 7.984 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.434, allocations: 11.98 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.4341, allocations: 40.47 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.4349, allocations: 361.7 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.4376, allocations: 1.59 MB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.438, allocations: 247.5 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.4383, allocations: 140.8 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.4383, allocations: 4 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.4383, allocations: 42.47 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.4383, allocations: 3.938 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001877/0.4402, allocations: 0.9046 MB / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.4403, allocations: 55.41 kB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.4406, allocations: 255.6 kB / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.4406, allocations: 33.7 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.4407, allocations: 184.4 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.4408, allocations: 95.2 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.441, allocations: 81.62 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4411, allocations: 330.8 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.4415, allocations: 155.9 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.4418, allocations: 235.1 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.4424, allocations: 418.8 kB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4424, allocations: 0 / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001245/0.4437, allocations: 0.5894 MB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4437, allocations: 8 kB / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4437, allocations: 4 kB / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/0.4444, allocations: 189 kB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.4448, allocations: 71.89 kB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.4479, allocations: 2.345 MB / 1.344 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.4483, allocations: 24 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.4484, allocations: 16 kB / 1.344 GB, free: 14.7 MB / 1.045 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.0002316/0.4486, allocations: 166.2 kB / 1.345 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.4487, allocations: 27.8 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.4493, allocations: 357.1 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4493, allocations: 0 / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4493, allocations: 4.062 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.4495, allocations: 51.83 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.4495, allocations: 8 kB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.4498, allocations: 15.97 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4498, allocations: 15.97 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001035/0.4509, allocations: 488.4 kB / 1.346 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008388/0.4517, allocations: 0.7004 MB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002195/0.4519, allocations: 142.6 kB / 1.346 GB, free: 12.72 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002346/0.4522, allocations: 176.1 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of Backend: time 5.81e-07/0.4522, allocations: 0 / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.4537, allocations: 0.604 MB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of SimCode: time 0.001565/0.4553, allocations: 1.179 MB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of Templates: time 0.01297/0.4683, allocations: 6.933 MB / 1.355 GB, free: 3.812 MB / 1.045 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/jenkins1/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: 9.793917748997046]