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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001495/0.001496, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001384/0.001384, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8597, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004555/0.8643, allocations: 3.268 MB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.8673, allocations: 2.019 MB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.8675, allocations: 8.469 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.8684, allocations: 294.2 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.8689, allocations: 232 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.8696, allocations: 289.2 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.8701, allocations: 412.5 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.8705, allocations: 201.2 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.8708, allocations: 160.7 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.8712, allocations: 201.8 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.8713, allocations: 24.06 kB / 1.096 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.8718, allocations: 269.1 kB / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.872, allocations: 125.2 kB / 1.096 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.8721, allocations: 148.1 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.8728, allocations: 493.1 kB / 1.097 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8728, allocations: 1.062 kB / 1.097 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8728, allocations: 0 / 1.097 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.8728, allocations: 0 / 1.097 GB, free: 0.7344 MB / 0.8575 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.001006/0.8739, allocations: 0.5962 MB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8739, allocations: 14.3 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.8749, allocations: 118.6 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.8753, allocations: 283.7 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.8754, allocations: 19.73 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.8755, allocations: 31.05 kB / 1.098 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.8764, allocations: 461.4 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.8764, allocations: 2.031 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.8765, allocations: 14.86 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.8766, allocations: 43.88 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.8774, allocations: 361.5 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.8803, allocations: 2.215 MB / 1.101 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.8808, allocations: 267.4 kB / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.881, allocations: 160.9 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.8811, allocations: 6.734 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.8811, allocations: 40.75 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.734e-06/0.8811, allocations: 0 / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002041/0.8831, allocations: 1.054 MB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.8832, allocations: 58.53 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.8836, allocations: 253.5 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.8836, allocations: 30.61 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.8838, allocations: 191.2 kB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.8838, allocations: 81.95 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.884, allocations: 73.66 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8841, allocations: 336.2 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.8845, allocations: 165.3 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.8849, allocations: 241.9 kB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.8857, allocations: 412.1 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8857, allocations: 1.125 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001418/0.8871, allocations: 0.5996 MB / 1.104 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8871, allocations: 6.172 kB / 1.104 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8872, allocations: 2.625 kB / 1.104 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007091/0.8879, allocations: 196.5 kB / 1.105 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.8882, allocations: 65.86 kB / 1.105 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.8914, allocations: 2.491 MB / 1.107 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.8918, allocations: 26.23 kB / 1.107 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.8919, allocations: 12.22 kB / 1.107 GB, free: 9.449 MB / 0.8731 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.0002418/0.8921, allocations: 172.3 kB / 1.107 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.8922, allocations: 27.69 kB / 1.107 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.8928, allocations: 351 kB / 1.108 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8929, allocations: 1.594 kB / 1.108 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.8929, allocations: 1.25 kB / 1.108 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.893, allocations: 132.5 kB / 1.108 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.8931, allocations: 4.938 kB / 1.108 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.8934, allocations: 14.05 kB / 1.108 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.8934, allocations: 20.31 kB / 1.108 GB, free: 9 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001071/0.8945, allocations: 494.4 kB / 1.108 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009103/0.8954, allocations: 0.6967 MB / 1.109 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002321/0.8957, allocations: 153.9 kB / 1.109 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002668/0.8959, allocations: 187.9 kB / 1.109 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of Backend: time 6.91e-07/0.8959, allocations: 0 / 1.109 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.8975, allocations: 0.6315 MB / 1.11 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001441/0.899, allocations: 1.18 MB / 1.111 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of Templates: time 0.01216/0.9112, allocations: 6.293 MB / 1.117 GB, free: 6.445 MB / 0.8731 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/jenkins1/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