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.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.001778/0.001778, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00233/0.00233, allocations: 212.7 kB / 22.24 MB, free: 5.242 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.915/2.915, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.00215/0.00215, allocations: 72.48 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3807, allocations: 169.9 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006328/0.387, allocations: 3.245 MB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004124/0.3911, allocations: 1.983 MB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.3914, allocations: 7.938 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3926, allocations: 293 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.3933, allocations: 235 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.3942, allocations: 287.3 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.3949, allocations: 414.7 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.3953, allocations: 164.2 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.3957, allocations: 175.4 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.3963, allocations: 199.2 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.3963, allocations: 31.98 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005869/0.3969, allocations: 239.5 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.3971, allocations: 123.7 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.3973, allocations: 123.4 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000897/0.3982, allocations: 498.2 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3982, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3983, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.3983, allocations: 0 / 1.291 GB, free: 3.941 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.001424/0.3997, allocations: 0.5362 MB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3997, allocations: 11.97 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.4008, allocations: 116.6 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.4013, allocations: 219.4 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.4014, allocations: 20.86 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4015, allocations: 32.5 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.4024, allocations: 0.522 MB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4024, allocations: 3.984 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.4025, allocations: 8 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.4026, allocations: 40.47 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.4033, allocations: 361.7 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.406, allocations: 1.606 MB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.4065, allocations: 250.2 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.4067, allocations: 144.9 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.4068, allocations: 4 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.4068, allocations: 42.55 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.4068, allocations: 0 / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.001954/0.4088, allocations: 0.9005 MB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.4088, allocations: 55.41 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.4092, allocations: 256 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.4092, allocations: 25.7 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.4093, allocations: 188.4 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/0.4094, allocations: 95.12 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.4096, allocations: 77.62 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4098, allocations: 338.8 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.4101, allocations: 155.9 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.4104, allocations: 241.9 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.4111, allocations: 406.9 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4111, allocations: 8 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001274/0.4124, allocations: 0.5902 MB / 1.298 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4124, allocations: 15.94 kB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4124, allocations: 0 / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/0.4131, allocations: 200.5 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4135, allocations: 63.89 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.4166, allocations: 2.331 MB / 1.3 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.417, allocations: 23.97 kB / 1.3 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.417, allocations: 16 kB / 1.3 GB, free: 9.645 MB / 0.9981 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.0002139/0.4172, allocations: 165.7 kB / 1.301 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.4173, allocations: 27.86 kB / 1.301 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/0.4179, allocations: 359.2 kB / 1.301 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4179, allocations: 4 kB / 1.301 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.4179, allocations: 0 / 1.301 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4179, allocations: 0 / 1.301 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.419, allocations: 0.7026 MB / 1.302 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.419, allocations: 4 kB / 1.302 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.4194, allocations: 71.88 kB / 1.302 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.4194, allocations: 7.984 kB / 1.302 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.4194, allocations: 8.062 kB / 1.302 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4194, allocations: 4 kB / 1.302 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4194, allocations: 0 / 1.302 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/0.4203, allocations: 0.6236 MB / 1.302 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.4204, allocations: 51.86 kB / 1.302 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.4204, allocations: 11.94 kB / 1.302 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.4207, allocations: 23.91 kB / 1.302 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.4207, allocations: 11.98 kB / 1.302 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4207, allocations: 11.98 kB / 1.302 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002271/0.421, allocations: 180.1 kB / 1.303 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.421, allocations: 0 / 1.303 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004244/0.4214, allocations: 88 kB / 1.303 GB, free: 7.23 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.0001763/0.4216, allocations: 115.1 kB / 1.303 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009825/0.4225, allocations: 0.5104 MB / 1.303 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4226, allocations: 0 / 1.303 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.4228, allocations: 139.8 kB / 1.303 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.4232, allocations: 52.2 kB / 1.303 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4248, allocations: 0.845 MB / 1.304 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.4251, allocations: 189.8 kB / 1.304 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.4253, allocations: 74.22 kB / 1.305 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.4254, allocations: 19.44 kB / 1.305 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.4254, allocations: 0 / 1.305 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.009366/0.4347, allocations: 4.458 MB / 1.309 GB, free: 0.8359 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.52479163557291]