Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00117/0.00117, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001425/0.001425, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 11.98 kB / 0.8154 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.8339, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003495/0.8374, allocations: 2.843 MB / 0.9572 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.8399, allocations: 1.731 MB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.8401, allocations: 8.062 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.8403, allocations: 49.14 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.8407, allocations: 161.8 kB / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.8413, allocations: 231 kB / 0.9593 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.8418, allocations: 468.6 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006833/0.8424, allocations: 440.7 kB / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.8427, allocations: 132.4 kB / 0.9603 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.843, allocations: 190.2 kB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.8431, allocations: 12.38 kB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.8434, allocations: 131.3 kB / 0.9606 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.8435, allocations: 107.9 kB / 0.9608 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.8436, allocations: 74.64 kB / 0.9608 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.8439, allocations: 349.6 kB / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8439, allocations: 1.125 kB / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8439, allocations: 0 / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.844, allocations: 0 / 0.9612 GB, free: 2.664 MB / 0.7169 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.0009053/0.8449, allocations: 0.5495 MB / 0.9617 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.8449, allocations: 8.562 kB / 0.9617 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/0.8457, allocations: 89 kB / 0.9618 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.846, allocations: 268.9 kB / 0.962 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.846, allocations: 18.06 kB / 0.9621 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.8461, allocations: 36.59 kB / 0.9621 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.8468, allocations: 442.8 kB / 0.9625 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.8468, allocations: 1.312 kB / 0.9625 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.8468, allocations: 19.09 kB / 0.9625 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.847, allocations: 38.69 kB / 0.9626 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.8475, allocations: 355.5 kB / 0.9629 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.8497, allocations: 2.201 MB / 0.9651 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.8501, allocations: 261.3 kB / 0.9653 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.8503, allocations: 164.4 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.8504, allocations: 3.656 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.8504, allocations: 50.58 kB / 0.9655 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.8504, allocations: 0 / 0.9655 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001904/0.8523, allocations: 1.039 MB / 0.9665 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.8524, allocations: 58.66 kB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.8527, allocations: 250.9 kB / 0.9668 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.8527, allocations: 31.95 kB / 0.9669 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.8528, allocations: 182.6 kB / 0.967 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.8529, allocations: 93.17 kB / 0.9671 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.853, allocations: 5.5 kB / 0.9671 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8531, allocations: 337.5 kB / 0.9675 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.8533, allocations: 145.9 kB / 0.9676 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.8536, allocations: 237.2 kB / 0.9678 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.8539, allocations: 187.4 kB / 0.968 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8539, allocations: 1 kB / 0.968 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001139/0.8551, allocations: 0.5867 MB / 0.9686 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.8551, allocations: 5.5 kB / 0.9686 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.8551, allocations: 2.438 kB / 0.9686 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006877/0.8558, allocations: 191.3 kB / 0.9688 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.8561, allocations: 61.12 kB / 0.9688 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.8591, allocations: 2.29 MB / 0.9711 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.8593, allocations: 24.2 kB / 0.9711 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.8594, allocations: 18.78 kB / 0.9711 GB, free: 10.71 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.8596, allocations: 171.6 kB / 0.9713 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.8596, allocations: 19.75 kB / 0.9713 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.8602, allocations: 355.5 kB / 0.9716 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8603, allocations: 2.656 kB / 0.9716 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.8603, allocations: 4.062 kB / 0.9716 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.8603, allocations: 3.984 kB / 0.9716 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.8614, allocations: 0.8101 MB / 0.9724 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8614, allocations: 0 / 0.9724 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.8618, allocations: 74.53 kB / 0.9725 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8618, allocations: 1.062 kB / 0.9725 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.8619, allocations: 11.77 kB / 0.9725 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.8619, allocations: 5.125 kB / 0.9725 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8619, allocations: 4.906 kB / 0.9725 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.8627, allocations: 0.6051 MB / 0.9731 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.8629, allocations: 124.7 kB / 0.9732 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.8629, allocations: 11.45 kB / 0.9732 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.8631, allocations: 13.11 kB / 0.9732 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.8632, allocations: 15.8 kB / 0.9733 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.8632, allocations: 8.719 kB / 0.9733 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002071/0.8634, allocations: 179 kB / 0.9734 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.225e-06/0.8634, allocations: 0 / 0.9734 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005182/0.864, allocations: 95.98 kB / 0.9735 GB, free: 8.996 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.8642, allocations: 108.1 kB / 0.9736 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.8653, allocations: 0.5291 MB / 0.9741 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.8653, allocations: 0 / 0.9741 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.8656, allocations: 147.4 kB / 0.9743 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.8661, allocations: 63.88 kB / 0.9743 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.8681, allocations: 1.005 MB / 0.9753 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.8687, allocations: 0.7946 MB / 0.9761 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002835/0.869, allocations: 78.61 kB / 0.9762 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.8691, allocations: 21.47 kB / 0.9762 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.8691, allocations: 0 / 0.9762 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of Templates: time 0.008997/0.8781, allocations: 3.661 MB / 0.9798 GB, free: 4.723 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches