Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.902/2.902, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 67.89 kB / 1.057 GB, free: 2.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3716, allocations: 160.7 MB / 1.214 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006058/0.3776, allocations: 3.317 MB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.3816, allocations: 2.023 MB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.3818, allocations: 11.94 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.3829, allocations: 294.8 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007119/0.3836, allocations: 230.9 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.3844, allocations: 295.3 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.385, allocations: 406.7 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.3853, allocations: 168.2 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.3856, allocations: 163.4 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/0.386, allocations: 215.2 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.386, allocations: 24 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.3865, allocations: 271.5 kB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.3867, allocations: 127.6 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.3869, allocations: 151.3 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.3875, allocations: 490.2 kB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3875, allocations: 0 / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3875, allocations: 0 / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3875, allocations: 0 / 1.222 GB, free: 8.828 MB / 0.9669 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.001218/0.3888, allocations: 0.6037 MB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3888, allocations: 16.02 kB / 1.223 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/0.3898, allocations: 112.6 kB / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.3902, allocations: 281.3 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3902, allocations: 20.92 kB / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.3904, allocations: 36.69 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007788/0.3912, allocations: 457 kB / 1.223 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3912, allocations: 3.938 kB / 1.223 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.3912, allocations: 15.98 kB / 1.223 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.3914, allocations: 48.45 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.392, allocations: 369.9 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.3949, allocations: 2.207 MB / 1.226 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.3954, allocations: 250.4 kB / 1.226 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.3956, allocations: 144.7 kB / 1.226 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3956, allocations: 4 kB / 1.226 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3956, allocations: 38.56 kB / 1.226 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.784e-06/0.3956, allocations: 0 / 1.226 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002023/0.3977, allocations: 1.056 MB / 1.227 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3977, allocations: 59.41 kB / 1.228 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.3981, allocations: 260.9 kB / 1.228 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3981, allocations: 29.7 kB / 1.228 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3982, allocations: 192.4 kB / 1.228 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.3983, allocations: 91.22 kB / 1.228 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3985, allocations: 77.59 kB / 1.228 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3986, allocations: 334.8 kB / 1.228 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.399, allocations: 155.9 kB / 1.229 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.3993, allocations: 245.5 kB / 1.229 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.4, allocations: 414.8 kB / 1.229 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4, allocations: 0 / 1.229 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001335/0.4014, allocations: 0.5926 MB / 1.23 GB, free: 268 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4014, allocations: 4 kB / 1.23 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4014, allocations: 4 kB / 1.23 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.4021, allocations: 192.8 kB / 1.23 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.4025, allocations: 59.89 kB / 1.23 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.4058, allocations: 2.5 MB / 1.233 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.4063, allocations: 27.97 kB / 1.233 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.4063, allocations: 12 kB / 1.233 GB, free: 13.32 MB / 0.9825 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.0002583/0.4066, allocations: 165.8 kB / 1.233 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/0.4067, allocations: 27.8 kB / 1.233 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006532/0.4073, allocations: 360.9 kB / 1.233 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4073, allocations: 0 / 1.233 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4073, allocations: 0 / 1.233 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4073, allocations: 0 / 1.233 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.4086, allocations: 0.8226 MB / 1.234 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.4086, allocations: 8.047 kB / 1.234 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.409, allocations: 71.95 kB / 1.234 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.409, allocations: 0 / 1.234 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.409, allocations: 19.86 kB / 1.234 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.409, allocations: 0 / 1.234 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.409, allocations: 0 / 1.234 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.4099, allocations: 0.6169 MB / 1.235 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.4101, allocations: 136.9 kB / 1.235 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.4101, allocations: 0 / 1.235 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.4104, allocations: 15.98 kB / 1.235 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.4104, allocations: 23.86 kB / 1.235 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.4105, allocations: 7.984 kB / 1.235 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002571/0.4107, allocations: 184.5 kB / 1.235 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4107, allocations: 4 kB / 1.235 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004717/0.4112, allocations: 95.98 kB / 1.235 GB, free: 10.67 MB / 0.9825 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.0001928/0.4114, allocations: 107.2 kB / 1.235 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.4125, allocations: 0.5102 MB / 1.236 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4125, allocations: 0 / 1.236 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.4127, allocations: 139.9 kB / 1.236 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.4132, allocations: 57.2 kB / 1.236 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.4149, allocations: 0.8789 MB / 1.237 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.4154, allocations: 0.7912 MB / 1.237 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4155, allocations: 31.42 kB / 1.237 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.4155, allocations: 0 / 1.237 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of Templates: time 0.008959/0.4245, allocations: 4.584 MB / 1.242 GB, free: 3.496 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.156159108970314]