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.0008305/0.0008305, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007898/0.0007898, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8701/0.8701, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.828e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003111/0.003129, allocations: 3.213 MB / 0.9549 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.00523, allocations: 1.967 MB / 0.9568 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.005333, allocations: 11.88 kB / 0.9568 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.005924, allocations: 298.7 kB / 0.9571 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.006225, allocations: 234.7 kB / 0.9573 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.006577, allocations: 298 kB / 0.9576 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.006886, allocations: 422.6 kB / 0.958 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.007149, allocations: 160.3 kB / 0.9581 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.007374, allocations: 227.4 kB / 0.9584 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.007604, allocations: 191.5 kB / 0.9585 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.007633, allocations: 24 kB / 0.9586 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.007857, allocations: 247.4 kB / 0.9588 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.007947, allocations: 131.7 kB / 0.9589 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.008023, allocations: 103.7 kB / 0.959 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.008443, allocations: 0.5063 MB / 0.9595 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.008445, allocations: 0 / 0.9595 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.32e-07/0.008446, allocations: 0 / 0.9595 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.008451, allocations: 0 / 0.9595 GB, free: 10.98 MB / 0.9167 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.0006729/0.009124, allocations: 0.5244 MB / 0.96 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.009157, allocations: 8.031 kB / 0.96 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005137/0.009671, allocations: 124.5 kB / 0.9602 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.009924, allocations: 222 kB / 0.9604 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.00994, allocations: 20.88 kB / 0.9604 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.842e-05/0.01003, allocations: 40.67 kB / 0.9604 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.01051, allocations: 0.5224 MB / 0.9609 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.01053, allocations: 4.188 kB / 0.9609 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.01055, allocations: 15.92 kB / 0.961 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/0.01063, allocations: 40.47 kB / 0.961 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.01101, allocations: 365.7 kB / 0.9613 GB, free: 9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.01247, allocations: 1.578 MB / 0.9629 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.01273, allocations: 238.4 kB / 0.9631 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.01286, allocations: 148.8 kB / 0.9633 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.01288, allocations: 4 kB / 0.9633 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.0129, allocations: 38.5 kB / 0.9633 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.01291, allocations: 4 kB / 0.9633 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001122/0.01403, allocations: 0.9103 MB / 0.9642 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.01405, allocations: 59.34 kB / 0.9642 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.01423, allocations: 240.2 kB / 0.9645 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.01425, allocations: 37.7 kB / 0.9645 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.01434, allocations: 192.3 kB / 0.9647 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.01438, allocations: 83.33 kB / 0.9648 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.01446, allocations: 85.56 kB / 0.9649 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.01454, allocations: 330.8 kB / 0.9652 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.01471, allocations: 159.9 kB / 0.9653 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.01491, allocations: 237.9 kB / 0.9655 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.01528, allocations: 410.8 kB / 0.9659 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01528, allocations: 4 kB / 0.9659 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006951/0.01597, allocations: 0.5977 MB / 0.9665 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.01599, allocations: 8 kB / 0.9665 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01599, allocations: 320 / 0.9665 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.01636, allocations: 184.7 kB / 0.9667 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01653, allocations: 71.89 kB / 0.9668 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.01826, allocations: 2.339 MB / 0.9691 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.01845, allocations: 24 kB / 0.9691 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.01847, allocations: 16 kB / 0.9691 GB, free: 0.7109 MB / 0.9167 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.0001138/0.01858, allocations: 169.6 kB / 0.9693 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01862, allocations: 19.86 kB / 0.9693 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.01897, allocations: 351.3 kB / 0.9696 GB, free: 168 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01897, allocations: 8.062 kB / 0.9696 GB, free: 160 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01897, allocations: 3.938 kB / 0.9696 GB, free: 156 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01898, allocations: 3.984 kB / 0.9696 GB, free: 152 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.01963, allocations: 0.7026 MB / 0.9703 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01963, allocations: 4 kB / 0.9703 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.01983, allocations: 71.88 kB / 0.9704 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01984, allocations: 4 kB / 0.9704 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01985, allocations: 11.94 kB / 0.9704 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01985, allocations: 4 kB / 0.9704 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01985, allocations: 4.062 kB / 0.9704 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.02033, allocations: 0.6144 MB / 0.971 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.0204, allocations: 51.81 kB / 0.9711 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.02042, allocations: 4 kB / 0.9711 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.02053, allocations: 15.98 kB / 0.9711 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.02056, allocations: 15.97 kB / 0.9711 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.02057, allocations: 8 kB / 0.9711 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000117/0.02068, allocations: 176.1 kB / 0.9713 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.02068, allocations: 0 / 0.9713 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002464/0.02093, allocations: 96 kB / 0.9714 GB, free: 14.31 MB / 0.9323 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.0001099/0.02104, allocations: 115.1 kB / 0.9715 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005687/0.02161, allocations: 0.521 MB / 0.972 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02161, allocations: 0 / 0.972 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.02177, allocations: 141.7 kB / 0.9721 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.02205, allocations: 58.78 kB / 0.9722 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.02289, allocations: 0.776 MB / 0.9729 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.02301, allocations: 193.8 kB / 0.9731 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.02308, allocations: 24.5 kB / 0.9731 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of SimCode: time 4.81e-07/0.02308, allocations: 0 / 0.9731 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of Templates: time 0.004249/0.02733, allocations: 4.645 MB / 0.9777 GB, free: 7.781 MB / 0.9323 GB " [Timeout remaining time 300] 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: 6.673429940827191]