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.001415/0.001415, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002059/0.002059, allocations: 218 kB / 23.01 MB, free: 4.605 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.264/3.264, allocations: 0.49 GB / 0.7958 GB, free: 33.52 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.002035/0.002035, allocations: 69.78 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005477/0.4056, allocations: 3.379 MB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003823/0.4094, allocations: 2.119 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.4097, allocations: 7.938 kB / 1.333 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.4107, allocations: 308 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.4114, allocations: 242.9 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.4122, allocations: 296.5 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.4127, allocations: 406.7 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.4131, allocations: 176.2 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.4134, allocations: 171.4 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.4138, allocations: 211.2 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.4139, allocations: 24 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005432/0.4144, allocations: 275.5 kB / 1.335 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.4146, allocations: 119.7 kB / 1.335 GB, free: 9.762 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.4147, allocations: 151.2 kB / 1.335 GB, free: 9.613 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.4154, allocations: 494.2 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4154, allocations: 4 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4154, allocations: 0 / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.4154, allocations: 0 / 1.335 GB, free: 9.125 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.001212/0.4166, allocations: 0.5244 MB / 1.336 GB, free: 8.566 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4167, allocations: 8.031 kB / 1.336 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.4177, allocations: 124.6 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.4181, allocations: 215.7 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4182, allocations: 24.8 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.4183, allocations: 32.73 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.4191, allocations: 461.3 kB / 1.337 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4191, allocations: 7.938 kB / 1.337 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.4191, allocations: 4 kB / 1.337 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.4193, allocations: 44.47 kB / 1.337 GB, free: 7.605 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.4199, allocations: 365.7 kB / 1.337 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.4228, allocations: 2.151 MB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.4232, allocations: 258.3 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.4234, allocations: 140.8 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4235, allocations: 3.984 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4235, allocations: 38.56 kB / 1.34 GB, free: 4.457 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.4235, allocations: 4 kB / 1.34 GB, free: 4.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001919/0.4254, allocations: 0.9145 MB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4255, allocations: 51.41 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.4258, allocations: 260.9 kB / 1.341 GB, free: 3.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.4258, allocations: 33.7 kB / 1.341 GB, free: 3.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.426, allocations: 192.3 kB / 1.341 GB, free: 2.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.4261, allocations: 87.27 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.4262, allocations: 77.64 kB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4264, allocations: 330.8 kB / 1.341 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.4267, allocations: 163.9 kB / 1.342 GB, free: 2.289 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.427, allocations: 242.2 kB / 1.342 GB, free: 2.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.4276, allocations: 414.8 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4276, allocations: 0 / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00125/0.4289, allocations: 0.5934 MB / 1.343 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4289, allocations: 9.875 kB / 1.343 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.4289, allocations: 4 kB / 1.343 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007016/0.4296, allocations: 188.8 kB / 1.343 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.43, allocations: 63.89 kB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.4331, allocations: 2.4 MB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.4335, allocations: 27.97 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.4336, allocations: 8 kB / 1.345 GB, free: 14.16 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.0002235/0.4338, allocations: 174.3 kB / 1.346 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.4339, allocations: 27.8 kB / 1.346 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.4344, allocations: 349.7 kB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4344, allocations: 4 kB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.4344, allocations: 0 / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4344, allocations: 3.984 kB / 1.346 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.4356, allocations: 0.79 MB / 1.347 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4356, allocations: 0 / 1.347 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.436, allocations: 72 kB / 1.347 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.436, allocations: 4 kB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.4361, allocations: 8 kB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4361, allocations: 3.938 kB / 1.347 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4361, allocations: 0 / 1.347 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.4369, allocations: 0.6183 MB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.437, allocations: 51.88 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.437, allocations: 4 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4373, allocations: 11.98 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4373, allocations: 19.91 kB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4373, allocations: 11.94 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002461/0.4376, allocations: 188.5 kB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4376, allocations: 0 / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004424/0.438, allocations: 92 kB / 1.348 GB, free: 11.66 MB / 1.045 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.0001896/0.4382, allocations: 115.2 kB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.4392, allocations: 0.5122 MB / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4392, allocations: 0 / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.4394, allocations: 135.9 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.4399, allocations: 60.83 kB / 1.349 GB, free: 10.82 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4416, allocations: 0.8977 MB / 1.349 GB, free: 9.891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.4421, allocations: 0.7989 MB / 1.35 GB, free: 9.062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4422, allocations: 27.42 kB / 1.35 GB, free: 9.035 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/0.4422, allocations: 0 / 1.35 GB, free: 9.035 MB / 1.045 GB Notification: Performance of Templates: time 0.00804/0.4502, allocations: 4.556 MB / 1.355 GB, free: 4.484 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: 12.490984467003727]