Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001714/0.001714, allocations: 109.6 kB / 16.41 MB, free: 6.508 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.001831/0.001831, allocations: 191.8 kB / 17.34 MB, free: 5.758 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.564/1.564, 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 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002146, allocations: 67.83 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005472/1.173, allocations: 3.076 MB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003677/1.176, allocations: 1.909 MB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/1.176, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/1.178, allocations: 282.9 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005378/1.178, allocations: 203.1 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/1.179, allocations: 239.3 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004369/1.179, allocations: 322.9 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/1.18, allocations: 188.9 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/1.18, allocations: 131.5 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/1.18, allocations: 151.4 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/1.18, allocations: 20 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006816/1.181, allocations: 399.2 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/1.181, allocations: 91.78 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/1.181, allocations: 123.4 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007105/1.182, allocations: 490.9 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.182, allocations: 0 / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.462e-06/1.182, allocations: 0 / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.182, allocations: 0 / 1.175 GB, free: 12.28 MB / 0.9044 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.0009803/1.183, allocations: 0.5646 MB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.183, allocations: 8.031 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/1.184, allocations: 116.6 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/1.184, allocations: 267.8 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/1.184, allocations: 16.81 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/1.184, allocations: 16.38 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/1.185, allocations: 365.4 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.185, allocations: 0 / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/1.185, allocations: 8 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/1.185, allocations: 24.42 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/1.185, allocations: 293.5 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/1.188, allocations: 1.741 MB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/1.189, allocations: 334 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/1.189, allocations: 101.7 kB / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/1.189, allocations: 93.03 kB / 1.179 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.189, allocations: 38.56 kB / 1.179 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/1.189, allocations: 0 / 1.179 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002625/1.192, allocations: 0.9686 MB / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/1.192, allocations: 85.08 kB / 1.18 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/1.192, allocations: 211.7 kB / 1.18 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/1.192, allocations: 33.7 kB / 1.18 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/1.192, allocations: 176.4 kB / 1.18 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/1.192, allocations: 83.27 kB / 1.18 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/1.192, allocations: 57.7 kB / 1.18 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002871/1.193, allocations: 330.8 kB / 1.18 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/1.193, allocations: 135.9 kB / 1.181 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/1.193, allocations: 214.9 kB / 1.181 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/1.194, allocations: 369.9 kB / 1.181 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.194, allocations: 0 / 1.181 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009026/1.195, allocations: 0.4993 MB / 1.182 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.195, allocations: 12.3 kB / 1.182 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.195, allocations: 7.938 kB / 1.182 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/1.195, allocations: 151.3 kB / 1.182 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/1.196, allocations: 55.91 kB / 1.182 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/1.2, allocations: 4.202 MB / 1.186 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/1.2, allocations: 19.97 kB / 1.186 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/1.2, allocations: 12 kB / 1.186 GB, free: 15.88 MB / 0.92 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.0002251/1.2, allocations: 169.8 kB / 1.186 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/1.2, allocations: 23.86 kB / 1.186 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/1.201, allocations: 474.5 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.201, allocations: 0 / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.201, allocations: 4 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.201, allocations: 3.984 kB / 1.187 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/1.203, allocations: 0.9959 MB / 1.188 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.203, allocations: 3.938 kB / 1.188 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/1.203, allocations: 32.08 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/1.203, allocations: 155.4 kB / 1.188 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.204, allocations: 8 kB / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/1.208, allocations: 4.166 MB / 1.192 GB, free: 9.395 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.208, allocations: 3.938 kB / 1.192 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/1.209, allocations: 0.6161 MB / 1.192 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/1.209, allocations: 132.9 kB / 1.193 GB, free: 8.574 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/1.209, allocations: 11.94 kB / 1.193 GB, free: 8.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/1.209, allocations: 19.97 kB / 1.193 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/1.209, allocations: 23.92 kB / 1.193 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.209, allocations: 11.98 kB / 1.193 GB, free: 8.508 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001703/1.209, allocations: 152.2 kB / 1.193 GB, free: 8.359 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.209, allocations: 4 kB / 1.193 GB, free: 8.355 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005428/1.21, allocations: 87.94 kB / 1.193 GB, free: 8.27 MB / 0.92 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.0002477/1.21, allocations: 137.3 kB / 1.193 GB, free: 8.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.211, allocations: 0.5947 MB / 1.194 GB, free: 7.504 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.211, allocations: 0 / 1.194 GB, free: 7.504 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/1.212, allocations: 394.1 kB / 1.194 GB, free: 7.094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/1.212, allocations: 46 kB / 1.194 GB, free: 7.055 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.214, allocations: 0.6383 MB / 1.195 GB, free: 6.367 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/1.214, allocations: 0.7869 MB / 1.195 GB, free: 5.555 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001597/1.214, allocations: 58.23 kB / 1.195 GB, free: 5.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/1.214, allocations: 19.44 kB / 1.195 GB, free: 5.48 MB / 0.92 GB Notification: Performance of SimCode: time 8.62e-07/1.214, allocations: 0 / 1.195 GB, free: 5.48 MB / 0.92 GB Notification: Performance of Templates: time 0.00958/1.224, allocations: 4.23 MB / 1.2 GB, free: 1.277 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches