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.002307/0.002307, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002694/0.002694, allocations: 211.9 kB / 22.24 MB, free: 4.855 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.539/1.539, 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 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.337/3.337, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.002936/0.002936, allocations: 71.48 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4761, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005768/0.4819, allocations: 3.246 MB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004041/0.4859, allocations: 1.971 MB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.4861, allocations: 7.938 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4872, allocations: 291.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.4878, allocations: 242.9 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.4886, allocations: 286.5 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.4892, allocations: 414.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.4896, allocations: 176.2 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.4899, allocations: 175.4 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.4903, allocations: 195.3 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.4903, allocations: 24 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.4909, allocations: 251.5 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.491, allocations: 123.6 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.4912, allocations: 123.4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.4919, allocations: 494.2 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4919, allocations: 3.938 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4919, allocations: 4 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.4919, allocations: 0 / 1.333 GB, free: 9.82 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.001194/0.4931, allocations: 0.5322 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4931, allocations: 8.031 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000963/0.4941, allocations: 116.6 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.4946, allocations: 223.6 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4946, allocations: 12.88 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.4947, allocations: 40.73 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/0.4956, allocations: 0.5219 MB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4956, allocations: 3.938 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.4956, allocations: 15.97 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.4958, allocations: 40.47 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.4964, allocations: 361.7 kB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.4991, allocations: 1.594 MB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.4996, allocations: 238.4 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.4998, allocations: 144.8 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.4998, allocations: 4 kB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4998, allocations: 42.55 kB / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.4998, allocations: 3.938 kB / 1.337 GB, free: 5.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001892/0.5017, allocations: 0.9033 MB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.5018, allocations: 55.41 kB / 1.338 GB, free: 4.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.5022, allocations: 259.6 kB / 1.338 GB, free: 4.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.5022, allocations: 25.7 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.5024, allocations: 192.4 kB / 1.338 GB, free: 4.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.611e-05/0.5025, allocations: 91.22 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.5026, allocations: 81.62 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5028, allocations: 330.8 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.5031, allocations: 155.9 kB / 1.339 GB, free: 3.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.5035, allocations: 235.1 kB / 1.339 GB, free: 3.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.5042, allocations: 422.7 kB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5042, allocations: 8 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001224/0.5054, allocations: 0.5858 MB / 1.34 GB, free: 2.285 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5054, allocations: 12.03 kB / 1.34 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5054, allocations: 0 / 1.34 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/0.5061, allocations: 196.6 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.5065, allocations: 63.89 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.5097, allocations: 2.335 MB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.5101, allocations: 24 kB / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.5101, allocations: 19.94 kB / 1.343 GB, free: 15.54 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.0002503/0.5104, allocations: 173.3 kB / 1.343 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.5104, allocations: 23.86 kB / 1.343 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.511, allocations: 360.9 kB / 1.343 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.511, allocations: 4 kB / 1.343 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.511, allocations: 0 / 1.343 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.511, allocations: 0 / 1.343 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5122, allocations: 0.7081 MB / 1.344 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5122, allocations: 7.938 kB / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.5126, allocations: 71.88 kB / 1.344 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.5126, allocations: 4 kB / 1.344 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.5126, allocations: 4 kB / 1.344 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5126, allocations: 8.062 kB / 1.344 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5126, allocations: 3.984 kB / 1.344 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.5135, allocations: 0.6104 MB / 1.345 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.5136, allocations: 47.88 kB / 1.345 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.5136, allocations: 11.98 kB / 1.345 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.5139, allocations: 11.98 kB / 1.345 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.5139, allocations: 19.97 kB / 1.345 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.5139, allocations: 8 kB / 1.345 GB, free: 13.39 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002472/0.5142, allocations: 176.1 kB / 1.345 GB, free: 13.22 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5142, allocations: 4 kB / 1.345 GB, free: 13.22 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004396/0.5146, allocations: 88 kB / 1.345 GB, free: 13.13 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.0001888/0.5148, allocations: 111.2 kB / 1.345 GB, free: 13.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.5159, allocations: 0.5158 MB / 1.346 GB, free: 12.49 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5159, allocations: 0 / 1.346 GB, free: 12.49 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.5161, allocations: 146.4 kB / 1.346 GB, free: 12.35 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.5166, allocations: 46.52 kB / 1.346 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5182, allocations: 0.8488 MB / 1.347 GB, free: 11.42 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.5185, allocations: 189.8 kB / 1.347 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.5187, allocations: 74.22 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.5188, allocations: 19.44 kB / 1.347 GB, free: 11.13 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.5188, allocations: 0 / 1.347 GB, free: 11.13 MB / 1.045 GB Notification: Performance of Templates: time 0.009686/0.5285, allocations: 4.47 MB / 1.351 GB, free: 6.707 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins/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: 10.183241760358214]