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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01064/0.01064, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00288/0.00288, allocations: 202.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.845/2.845, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3705, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005606/0.3762, allocations: 3.264 MB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003713/0.3799, allocations: 2.007 MB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.3802, allocations: 4 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3813, allocations: 282.8 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008124/0.3822, allocations: 246.9 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.383, allocations: 283.3 kB / 1.173 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.3837, allocations: 414.7 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.3842, allocations: 208.2 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.3846, allocations: 163.4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.3851, allocations: 199.3 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.3852, allocations: 24 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.3857, allocations: 263.5 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3859, allocations: 119.7 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.3861, allocations: 151.2 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.3869, allocations: 498.2 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3869, allocations: 0 / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3869, allocations: 4 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.3869, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 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.001272/0.3882, allocations: 0.5998 MB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3883, allocations: 12.03 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.3893, allocations: 124.6 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.3898, allocations: 277.2 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3898, allocations: 24.92 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.3899, allocations: 36.69 kB / 1.176 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.3908, allocations: 469 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.3908, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.3909, allocations: 8 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.391, allocations: 40.53 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.3918, allocations: 373.9 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.3948, allocations: 2.207 MB / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.3953, allocations: 270.4 kB / 1.179 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.3955, allocations: 160.8 kB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3955, allocations: 4 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3956, allocations: 34.5 kB / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.3956, allocations: 0 / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001738/0.3973, allocations: 1.064 MB / 1.18 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.3974, allocations: 55.41 kB / 1.18 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.3977, allocations: 260.9 kB / 1.18 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3977, allocations: 33.7 kB / 1.18 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3979, allocations: 192.4 kB / 1.181 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.3979, allocations: 91.22 kB / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3981, allocations: 73.64 kB / 1.181 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3982, allocations: 334.8 kB / 1.181 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.3985, allocations: 159.9 kB / 1.181 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.3988, allocations: 249.6 kB / 1.181 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.3994, allocations: 406.8 kB / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3994, allocations: 11.94 kB / 1.182 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001152/0.4005, allocations: 0.6005 MB / 1.182 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4006, allocations: 8 kB / 1.182 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4006, allocations: 0 / 1.182 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/0.4012, allocations: 192.7 kB / 1.183 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.4016, allocations: 63.89 kB / 1.183 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.4045, allocations: 2.492 MB / 1.185 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.4048, allocations: 23.97 kB / 1.185 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.4049, allocations: 19.94 kB / 1.185 GB, free: 3.125 MB / 0.9356 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.0001953/0.4051, allocations: 157.8 kB / 1.185 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.4052, allocations: 31.8 kB / 1.185 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.4057, allocations: 361.2 kB / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4057, allocations: 0 / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.4057, allocations: 0 / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4057, allocations: 4 kB / 1.186 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4069, allocations: 0.8083 MB / 1.186 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4069, allocations: 3.938 kB / 1.186 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.4073, allocations: 79.88 kB / 1.187 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4073, allocations: 0 / 1.187 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.4073, allocations: 16.05 kB / 1.187 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4073, allocations: 0 / 1.187 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4073, allocations: 4 kB / 1.187 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.4081, allocations: 0.611 MB / 1.187 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.4083, allocations: 136.9 kB / 1.187 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4083, allocations: 8.094 kB / 1.187 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.4085, allocations: 15.98 kB / 1.187 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.4086, allocations: 19.91 kB / 1.187 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.4086, allocations: 8 kB / 1.187 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002237/0.4088, allocations: 188.5 kB / 1.187 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4088, allocations: 0 / 1.187 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004121/0.4093, allocations: 88 kB / 1.188 GB, free: 496 kB / 0.9356 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.0001678/0.4094, allocations: 115.2 kB / 1.188 GB, free: 368 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009454/0.4104, allocations: 0.5322 MB / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4104, allocations: 0 / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.4106, allocations: 158.3 kB / 1.188 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.4111, allocations: 60.08 kB / 1.188 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4125, allocations: 0.8395 MB / 1.189 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.4129, allocations: 0.7951 MB / 1.19 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.4132, allocations: 86.88 kB / 1.19 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.4132, allocations: 19.44 kB / 1.19 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.4133, allocations: 0 / 1.19 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of Templates: time 0.007882/0.4211, allocations: 4.183 MB / 1.194 GB, free: 9.648 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches