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.00169/0.00169, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001876/0.001876, allocations: 214 kB / 22.99 MB, free: 4.945 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.222/3.222, allocations: 0.4892 GB / 0.7951 GB, free: 35.81 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.002092/0.002092, allocations: 68.3 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3952, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006222/0.4014, allocations: 3.249 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.4056, allocations: 1.983 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.4058, allocations: 7.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.407, allocations: 290.8 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007764/0.4078, allocations: 238.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.4086, allocations: 283.4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006363/0.4092, allocations: 418.7 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.4097, allocations: 172.2 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.41, allocations: 171.4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.4105, allocations: 207.2 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.4106, allocations: 24 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.4112, allocations: 243.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.4114, allocations: 127.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.4116, allocations: 119.5 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.4124, allocations: 498.2 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4124, allocations: 0 / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4124, allocations: 0 / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.4124, allocations: 4 kB / 1.334 GB, free: 9.891 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.001293/0.4137, allocations: 0.5206 MB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4138, allocations: 8.031 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.4148, allocations: 120.6 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.4153, allocations: 223.6 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.4154, allocations: 20.86 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.4155, allocations: 36.73 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/0.4164, allocations: 0.5258 MB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.4165, allocations: 7.891 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.4165, allocations: 11.98 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.4166, allocations: 40.47 kB / 1.336 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.4174, allocations: 361.7 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.4201, allocations: 1.59 MB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.4206, allocations: 246.4 kB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.4208, allocations: 145.9 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.4208, allocations: 0 / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4209, allocations: 34.56 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.4209, allocations: 4 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002024/0.4229, allocations: 0.9121 MB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.423, allocations: 55.41 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.4233, allocations: 255.6 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.4234, allocations: 33.7 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4235, allocations: 188.4 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/0.4236, allocations: 91.22 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.4238, allocations: 77.64 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.424, allocations: 334.8 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4243, allocations: 155.9 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.4247, allocations: 239 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.4253, allocations: 410.8 kB / 1.341 GB, free: 2.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4253, allocations: 4 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001357/0.4267, allocations: 0.5972 MB / 1.341 GB, free: 2.355 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4267, allocations: 8 kB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4267, allocations: 4.312 kB / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/0.4275, allocations: 196.5 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.4278, allocations: 67.89 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.4312, allocations: 2.335 MB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.4316, allocations: 28 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.4317, allocations: 12 kB / 1.344 GB, free: 15.61 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.0002605/0.4319, allocations: 170.2 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.432, allocations: 23.8 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006813/0.4327, allocations: 355.3 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4327, allocations: 8.062 kB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4327, allocations: 0 / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4327, allocations: 3.984 kB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4339, allocations: 0.6987 MB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4339, allocations: 4 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.4344, allocations: 75.88 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4344, allocations: 4 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.4344, allocations: 4 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4344, allocations: 4 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4344, allocations: 4.062 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.4353, allocations: 0.6166 MB / 1.346 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4355, allocations: 43.83 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.4355, allocations: 8 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4358, allocations: 16.08 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.4359, allocations: 19.95 kB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.4359, allocations: 8 kB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002454/0.4361, allocations: 176.1 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4361, allocations: 0 / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004754/0.4366, allocations: 99.94 kB / 1.346 GB, free: 13.2 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.0001845/0.4368, allocations: 115.1 kB / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.4379, allocations: 0.5123 MB / 1.347 GB, free: 12.56 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.4379, allocations: 0 / 1.347 GB, free: 12.56 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.4381, allocations: 139.8 kB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.4386, allocations: 50 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.4405, allocations: 0.8922 MB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4408, allocations: 181.8 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4409, allocations: 35.42 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.4409, allocations: 0 / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of Templates: time 0.009161/0.4501, allocations: 4.603 MB / 1.352 GB, free: 6.617 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.592550841160119]