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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001069/0.001069, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007674/0.007674, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.491/1.491, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.003/3.003, allocations: 470.6 MB / 0.7441 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0005, allocations: 11.09 kB / 0.9123 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3368, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004097/0.3409, allocations: 2.937 MB / 1.073 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003478/0.3445, allocations: 2.003 MB / 1.075 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.3446, allocations: 7.938 kB / 1.075 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.3448, allocations: 39.7 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005744/0.3454, allocations: 215.1 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.3461, allocations: 269.5 kB / 1.075 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.3467, allocations: 0.5688 MB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008667/0.3476, allocations: 449 kB / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.3479, allocations: 139.5 kB / 1.076 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.3483, allocations: 195.3 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3483, allocations: 12 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.3489, allocations: 299.5 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.349, allocations: 111.7 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3492, allocations: 157 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.3499, allocations: 498.6 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3499, allocations: 0 / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3499, allocations: 0 / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3499, allocations: 0 / 1.078 GB, free: 3.457 MB / 0.8262 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.001061/0.351, allocations: 0.5303 MB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.351, allocations: 12.03 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.3521, allocations: 124.3 kB / 1.078 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3525, allocations: 273.2 kB / 1.078 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3525, allocations: 24.91 kB / 1.078 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.3526, allocations: 40.41 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.3535, allocations: 453 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3535, allocations: 11.94 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.3536, allocations: 11.98 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.3537, allocations: 40.53 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.3544, allocations: 365.9 kB / 1.079 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.3572, allocations: 2.214 MB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.3577, allocations: 270.4 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.358, allocations: 160.8 kB / 1.082 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.358, allocations: 7.984 kB / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3581, allocations: 30.56 kB / 1.082 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 3.797e-06/0.3581, allocations: 0 / 1.082 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.001977/0.3601, allocations: 1.064 MB / 1.083 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3601, allocations: 55.41 kB / 1.083 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.3605, allocations: 264.8 kB / 1.083 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3605, allocations: 29.7 kB / 1.083 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3607, allocations: 188 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.3608, allocations: 82.84 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.3608, allocations: 37.7 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.361, allocations: 330.8 kB / 1.084 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.3613, allocations: 155.9 kB / 1.084 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3617, allocations: 249.5 kB / 1.084 GB, free: 12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.3624, allocations: 410.8 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3624, allocations: 11.94 kB / 1.085 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001314/0.3637, allocations: 0.6012 MB / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3637, allocations: 8 kB / 1.085 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3638, allocations: 0 / 1.085 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/0.3645, allocations: 188.7 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.3649, allocations: 67.89 kB / 1.086 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.368, allocations: 2.296 MB / 1.088 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.3684, allocations: 28.03 kB / 1.088 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.3684, allocations: 16 kB / 1.088 GB, free: 8.211 MB / 0.8419 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.000218/0.3687, allocations: 157.8 kB / 1.088 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.3687, allocations: 31.66 kB / 1.088 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.3694, allocations: 358.5 kB / 1.088 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.3694, allocations: 4 kB / 1.088 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3694, allocations: 4 kB / 1.088 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3694, allocations: 0 / 1.088 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.3706, allocations: 0.8082 MB / 1.089 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3706, allocations: 0 / 1.089 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.371, allocations: 79.88 kB / 1.089 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3711, allocations: 3.938 kB / 1.089 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3711, allocations: 11.98 kB / 1.089 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3711, allocations: 4.062 kB / 1.089 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3711, allocations: 4 kB / 1.089 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.3719, allocations: 0.6082 MB / 1.09 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3721, allocations: 128.8 kB / 1.09 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.3722, allocations: 8 kB / 1.09 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.3724, allocations: 11.98 kB / 1.09 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3725, allocations: 19.98 kB / 1.09 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3725, allocations: 12 kB / 1.09 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00025/0.3727, allocations: 184.5 kB / 1.09 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.124e-06/0.3728, allocations: 4 kB / 1.09 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004465/0.3732, allocations: 91.88 kB / 1.09 GB, free: 5.59 MB / 0.8419 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.000196/0.3734, allocations: 119.1 kB / 1.09 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.3744, allocations: 0.5256 MB / 1.091 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3745, allocations: 0 / 1.091 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.3747, allocations: 152.4 kB / 1.091 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.3752, allocations: 58.16 kB / 1.091 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3769, allocations: 1.016 MB / 1.092 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.3774, allocations: 0.7912 MB / 1.093 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.3777, allocations: 82.91 kB / 1.093 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.3778, allocations: 31.42 kB / 1.093 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.3778, allocations: 0 / 1.093 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of Templates: time 0.008757/0.3865, allocations: 3.875 MB / 1.097 GB, free: 14.89 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (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) 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) Reference file matches