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.001961/0.001961, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002053/0.002053, allocations: 192.7 kB / 16.14 MB, free: 6.719 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.843/1.843, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.862/2.862, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8393, allocations: 151.6 MB / 1.017 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005532/0.8449, allocations: 3.311 MB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003833/0.8487, allocations: 2.031 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.8489, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.8499, allocations: 275 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.8504, allocations: 227.1 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.8512, allocations: 255.4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.8518, allocations: 0.5726 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.8523, allocations: 196.8 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.8525, allocations: 135.5 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.8529, allocations: 207.2 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.853, allocations: 16 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.8535, allocations: 311.5 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.8537, allocations: 107.7 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.8539, allocations: 143.2 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.8545, allocations: 0.4889 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.8545, allocations: 4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.91e-07/0.8545, allocations: 3.938 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8545, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 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.001262/0.8558, allocations: 0.5849 MB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8559, allocations: 8.031 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/0.8569, allocations: 120.4 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.8573, allocations: 273.7 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.8573, allocations: 20.94 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8575, allocations: 44.38 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/0.8583, allocations: 449.1 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.8583, allocations: 3.938 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.8583, allocations: 15.98 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.8585, allocations: 40.53 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.8592, allocations: 365.9 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.8621, allocations: 2.222 MB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.8626, allocations: 266.4 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.8628, allocations: 164.8 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.8629, allocations: 8 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.8629, allocations: 34.56 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 3.336e-06/0.8629, allocations: 0 / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001978/0.8649, allocations: 1.053 MB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.8649, allocations: 55.41 kB / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.8653, allocations: 264.8 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.8653, allocations: 29.7 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.8655, allocations: 187.9 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.8656, allocations: 82.83 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.8657, allocations: 77.59 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.8659, allocations: 338.8 kB / 1.031 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.8662, allocations: 151.9 kB / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.8666, allocations: 253.5 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.8673, allocations: 410.8 kB / 1.032 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8673, allocations: 3.938 kB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001342/0.8687, allocations: 0.6002 MB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8687, allocations: 4 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8687, allocations: 4 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/0.8695, allocations: 181 kB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.8698, allocations: 71.89 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.8731, allocations: 2.3 MB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.8735, allocations: 27.97 kB / 1.035 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.8736, allocations: 11.98 kB / 1.035 GB, free: 15.3 MB / 0.795 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.0002399/0.8738, allocations: 173.8 kB / 1.035 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.8739, allocations: 27.66 kB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000629/0.8745, allocations: 353.7 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.8745, allocations: 4 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8746, allocations: 4.094 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8746, allocations: 3.938 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.8758, allocations: 0.8161 MB / 1.036 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8758, allocations: 0 / 1.036 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.8763, allocations: 71.88 kB / 1.036 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.8763, allocations: 4 kB / 1.036 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.8763, allocations: 8 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8763, allocations: 4 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8763, allocations: 3.984 kB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.8772, allocations: 0.618 MB / 1.037 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.8774, allocations: 124.9 kB / 1.037 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.8775, allocations: 11.89 kB / 1.037 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.8777, allocations: 19.92 kB / 1.037 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.8778, allocations: 15.98 kB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.8778, allocations: 4 kB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002687/0.8781, allocations: 192.5 kB / 1.037 GB, free: 12.74 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8781, allocations: 0 / 1.037 GB, free: 12.74 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00047/0.8786, allocations: 91.94 kB / 1.038 GB, free: 12.65 MB / 0.795 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.0001832/0.8788, allocations: 111.7 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.8798, allocations: 0.5307 MB / 1.038 GB, free: 11.99 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8799, allocations: 4 kB / 1.038 GB, free: 11.99 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.8801, allocations: 153.9 kB / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.8806, allocations: 46.38 kB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.8824, allocations: 0.9588 MB / 1.039 GB, free: 10.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.8829, allocations: 0.7873 MB / 1.04 GB, free: 9.992 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002928/0.8832, allocations: 74.92 kB / 1.04 GB, free: 9.922 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.8833, allocations: 27.42 kB / 1.04 GB, free: 9.895 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.8833, allocations: 0 / 1.04 GB, free: 9.895 MB / 0.795 GB Notification: Performance of Templates: time 0.009415/0.8927, allocations: 3.946 MB / 1.044 GB, free: 5.969 MB / 0.795 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=400 -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