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.0018/0.0018, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.5/2.5, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9954/0.9971, allocations: 140.4 MB / 0.9496 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004159/1.001, allocations: 3.061 MB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002711/1.004, allocations: 1.917 MB / 0.9544 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/1.004, allocations: 8.156 kB / 0.9545 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008759/1.005, allocations: 274.5 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004127/1.005, allocations: 189.4 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/1.006, allocations: 247.8 kB / 0.9551 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/1.007, allocations: 326.2 kB / 0.9554 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/1.007, allocations: 183.2 kB / 0.9556 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/1.007, allocations: 137.6 kB / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/1.007, allocations: 145.1 kB / 0.9559 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/1.007, allocations: 28.05 kB / 0.9559 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/1.008, allocations: 401.6 kB / 0.9563 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.691e-05/1.008, allocations: 79.98 kB / 0.9564 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/1.008, allocations: 127.7 kB / 0.9565 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006106/1.009, allocations: 488.5 kB / 0.957 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.009, allocations: 0 / 0.957 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/1.009, allocations: 1 kB / 0.957 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.009, allocations: 4 kB / 0.957 GB, free: 3.562 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000897/1.01, allocations: 0.5559 MB / 0.9575 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.01, allocations: 9.969 kB / 0.9575 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008615/1.011, allocations: 116.5 kB / 0.9576 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/1.011, allocations: 260.7 kB / 0.9579 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/1.011, allocations: 15.95 kB / 0.9579 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/1.011, allocations: 24.53 kB / 0.9579 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/1.012, allocations: 354.5 kB / 0.9583 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.012, allocations: 0.75 kB / 0.9583 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/1.012, allocations: 11.25 kB / 0.9583 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/1.012, allocations: 21.23 kB / 0.9583 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/1.012, allocations: 297.5 kB / 0.9586 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/1.014, allocations: 1.738 MB / 0.9603 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/1.015, allocations: 323.8 kB / 0.9606 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/1.015, allocations: 100.1 kB / 0.9607 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/1.016, allocations: 95.2 kB / 0.9608 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/1.016, allocations: 41.12 kB / 0.9608 GB, free: 236 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/1.016, allocations: 0 / 0.9608 GB, free: 236 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.004002/1.02, allocations: 0.9552 MB / 0.9617 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.02, allocations: 91.94 kB / 0.9618 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/1.02, allocations: 215.2 kB / 0.962 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/1.02, allocations: 30.95 kB / 0.9621 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/1.021, allocations: 160.5 kB / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/1.021, allocations: 85.17 kB / 0.9623 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/1.021, allocations: 66.59 kB / 0.9624 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.021, allocations: 326.9 kB / 0.9627 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/1.021, allocations: 136.2 kB / 0.9628 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/1.022, allocations: 207.7 kB / 0.963 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/1.023, allocations: 368.8 kB / 0.9633 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.023, allocations: 2.656 kB / 0.9633 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001418/1.024, allocations: 0.5057 MB / 0.9638 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/1.024, allocations: 9.938 kB / 0.9639 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/1.024, allocations: 7.031 kB / 0.9639 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007554/1.025, allocations: 154.3 kB / 0.964 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/1.025, allocations: 64.19 kB / 0.9641 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/1.03, allocations: 4.189 MB / 0.9682 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/1.031, allocations: 16.33 kB / 0.9682 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/1.031, allocations: 14 kB / 0.9682 GB, free: 9.676 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): 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.0003485/1.031, allocations: 164.6 kB / 0.9683 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.031, allocations: 25.56 kB / 0.9684 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/1.033, allocations: 474.3 kB / 0.9688 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.033, allocations: 6.875 kB / 0.9688 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.033, allocations: 1.125 kB / 0.9688 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.033, allocations: 1.062 kB / 0.9688 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.035, allocations: 1.018 MB / 0.9698 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.035, allocations: 6.609 kB / 0.9698 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/1.036, allocations: 33.14 kB / 0.9699 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006099/1.036, allocations: 150 kB / 0.97 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/1.036, allocations: 11.75 kB / 0.97 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/1.041, allocations: 4.166 MB / 0.9741 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.041, allocations: 2.688 kB / 0.9741 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/1.042, allocations: 0.6205 MB / 0.9747 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.043, allocations: 127 kB / 0.9748 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/1.043, allocations: 12.12 kB / 0.9748 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/1.043, allocations: 17.28 kB / 0.9748 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/1.043, allocations: 23.17 kB / 0.9749 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/1.043, allocations: 15.27 kB / 0.9749 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002936/1.044, allocations: 158.6 kB / 0.975 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.7e-07/1.044, allocations: 0 / 0.975 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009769/1.045, allocations: 86.97 kB / 0.9751 GB, free: 3.371 MB / 0.7325 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.0003207/1.045, allocations: 129.8 kB / 0.9752 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.047, allocations: 0.6063 MB / 0.9758 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.047, allocations: 0 / 0.9758 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009487/1.048, allocations: 400 kB / 0.9762 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/1.049, allocations: 53.78 kB / 0.9763 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/1.051, allocations: 0.6465 MB / 0.9769 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/1.051, allocations: 0.7755 MB / 0.9777 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003556/1.052, allocations: 58.44 kB / 0.9777 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/1.052, allocations: 23.88 kB / 0.9777 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/1.052, allocations: 0 / 0.9777 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.01594/1.068, allocations: 4.153 MB / 0.9818 GB, free: 15.21 MB / 0.7481 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/jenkins/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