Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001924/0.001924, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.414/1.414, 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.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 55.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 140.4 MB / 1.089 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00439/1.025, allocations: 3.087 MB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002892/1.028, allocations: 1.901 MB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/1.028, allocations: 4.875 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009141/1.029, allocations: 286.7 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005028/1.029, allocations: 193.6 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/1.03, allocations: 245.4 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/1.03, allocations: 325 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/1.031, allocations: 183.6 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/1.031, allocations: 132.4 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/1.031, allocations: 152.5 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/1.031, allocations: 20.22 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/1.032, allocations: 402.1 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/1.032, allocations: 88.84 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/1.032, allocations: 119 kB / 1.096 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007568/1.033, allocations: 497.5 kB / 1.096 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.033, allocations: 0 / 1.096 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/1.033, allocations: 1.125 kB / 1.096 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.132e-06/1.033, allocations: 0 / 1.096 GB, free: 1.02 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007934/1.034, allocations: 0.555 MB / 1.097 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/1.034, allocations: 8.688 kB / 1.097 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/1.035, allocations: 106 kB / 1.097 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/1.035, allocations: 266.4 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.035, allocations: 21.2 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/1.035, allocations: 21.23 kB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/1.036, allocations: 351.2 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.036, allocations: 8.375 kB / 1.097 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/1.036, allocations: 7.281 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/1.036, allocations: 26.42 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/1.036, allocations: 294.3 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/1.039, allocations: 1.73 MB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/1.039, allocations: 326.9 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/1.04, allocations: 106.5 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/1.04, allocations: 98.09 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/1.04, allocations: 36.91 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 2.043e-06/1.04, allocations: 0 / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002598/1.042, allocations: 0.9595 MB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/1.042, allocations: 87.73 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/1.043, allocations: 216.5 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/1.043, allocations: 27.02 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/1.043, allocations: 169.5 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/1.043, allocations: 88.78 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.043, allocations: 60.22 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.043, allocations: 330.6 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/1.043, allocations: 130.5 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/1.044, allocations: 207.5 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/1.044, allocations: 373.9 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.044, allocations: 0 / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001221/1.046, allocations: 0.5105 MB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.046, allocations: 7.031 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.046, allocations: 3.188 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006642/1.046, allocations: 158 kB / 1.103 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/1.047, allocations: 57.38 kB / 1.103 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004178/1.051, allocations: 4.184 MB / 1.107 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/1.051, allocations: 22.05 kB / 1.107 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/1.051, allocations: 10.89 kB / 1.107 GB, free: 8.055 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002562/1.051, allocations: 165.2 kB / 1.107 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/1.051, allocations: 22.94 kB / 1.107 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/1.053, allocations: 475.8 kB / 1.108 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.053, allocations: 2.594 kB / 1.108 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.053, allocations: 1.125 kB / 1.108 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.053, allocations: 3.453 kB / 1.108 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/1.055, allocations: 1.003 MB / 1.109 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.055, allocations: 2.781 kB / 1.109 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/1.055, allocations: 43.12 kB / 1.109 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/1.055, allocations: 142.7 kB / 1.109 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/1.055, allocations: 12.66 kB / 1.109 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/1.059, allocations: 4.15 MB / 1.113 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.059, allocations: 2.094 kB / 1.113 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/1.06, allocations: 0.6232 MB / 1.114 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/1.06, allocations: 125 kB / 1.114 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/1.06, allocations: 13.67 kB / 1.114 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/1.06, allocations: 22.84 kB / 1.114 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/1.06, allocations: 30.03 kB / 1.114 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/1.06, allocations: 7.891 kB / 1.114 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001774/1.06, allocations: 156 kB / 1.114 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/1.06, allocations: 0 / 1.114 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006527/1.061, allocations: 88.17 kB / 1.114 GB, free: 2.254 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002618/1.061, allocations: 133.8 kB / 1.114 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.062, allocations: 0.5881 MB / 1.115 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/1.062, allocations: 4.562 kB / 1.115 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/1.063, allocations: 397.2 kB / 1.115 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/1.064, allocations: 47.72 kB / 1.115 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.065, allocations: 0.6607 MB / 1.116 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/1.065, allocations: 0.7802 MB / 1.117 GB, free: 356 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/1.066, allocations: 22.66 kB / 1.117 GB, free: 348 kB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/1.066, allocations: 0 / 1.117 GB, free: 348 kB / 0.8731 GB Notification: Performance of Templates: time 0.014/1.08, allocations: 7.649 MB / 1.124 GB, free: 15.71 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches