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.001504/0.001504, allocations: 107 kB / 15.99 MB, free: 5.895 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.001531/0.001532, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 4.523 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 2.703/2.703, allocations: 469.8 MB / 0.7427 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 69.84 kB / 0.9087 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3148, allocations: 159.1 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005555/0.3204, allocations: 3.313 MB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003763/0.3242, allocations: 2.01 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.3244, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009662/0.3255, allocations: 271.6 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.3261, allocations: 219.2 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.3269, allocations: 264.6 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.3274, allocations: 410.7 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.3279, allocations: 224.2 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.3281, allocations: 159.5 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.3285, allocations: 203.3 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.3286, allocations: 31.88 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.3291, allocations: 271.5 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3292, allocations: 115.8 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.3294, allocations: 147.2 kB / 1.072 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.3299, allocations: 383.4 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3299, allocations: 4 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.607e-06/0.3299, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.3299, allocations: 3.938 kB / 1.072 GB, free: 6.609 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.00127/0.3312, allocations: 0.5927 MB / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3313, allocations: 12.03 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.3323, allocations: 120.4 kB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.3328, allocations: 277.1 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3328, allocations: 12.94 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.333, allocations: 36.72 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/0.3338, allocations: 457 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3339, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.3339, allocations: 12 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.3341, allocations: 40.53 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.3348, allocations: 365.9 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.3378, allocations: 2.218 MB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.3383, allocations: 272.4 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.3386, allocations: 158.7 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3386, allocations: 4 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.3386, allocations: 38.56 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.3386, allocations: 0 / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.002083/0.3407, allocations: 1.059 MB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3408, allocations: 55.41 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3411, allocations: 256.8 kB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.3412, allocations: 33.64 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3413, allocations: 188 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3414, allocations: 90.73 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3416, allocations: 69.62 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3417, allocations: 346.8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.342, allocations: 155.9 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3424, allocations: 245.5 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.343, allocations: 410.8 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.343, allocations: 4 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001217/0.3442, allocations: 0.601 MB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3443, allocations: 11.94 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3443, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006962/0.345, allocations: 193 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.3453, allocations: 63.89 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.3483, allocations: 2.489 MB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.3487, allocations: 27.97 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3488, allocations: 16 kB / 1.083 GB, free: 11.08 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.0001953/0.349, allocations: 157.8 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.3491, allocations: 31.83 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.3496, allocations: 366.2 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3496, allocations: 0 / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.3496, allocations: 0 / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3497, allocations: 4 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3507, allocations: 0.8136 MB / 1.084 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3508, allocations: 0 / 1.084 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.3512, allocations: 83.92 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3512, allocations: 0 / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.3512, allocations: 11.98 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3512, allocations: 0 / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3512, allocations: 4 kB / 1.084 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007738/0.352, allocations: 0.6071 MB / 1.085 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3522, allocations: 136.8 kB / 1.085 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3522, allocations: 4 kB / 1.085 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3525, allocations: 15.98 kB / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3525, allocations: 15.92 kB / 1.085 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3525, allocations: 8 kB / 1.085 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002306/0.3528, allocations: 188.5 kB / 1.085 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3528, allocations: 0 / 1.085 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004309/0.3532, allocations: 104 kB / 1.085 GB, free: 8.445 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.0002137/0.3534, allocations: 107.2 kB / 1.085 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.3545, allocations: 0.569 MB / 1.086 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3546, allocations: 0 / 1.086 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.3548, allocations: 148.5 kB / 1.086 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3553, allocations: 60.14 kB / 1.086 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3569, allocations: 0.9713 MB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3573, allocations: 0.8028 MB / 1.088 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3574, allocations: 23.44 kB / 1.088 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3575, allocations: 3.938 kB / 1.088 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.007221/0.3647, allocations: 4.546 MB / 1.092 GB, free: 1.137 MB / 0.8419 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/jenkins1/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