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.001203/0.001203, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001394/0.001394, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.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.777/2.777, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7875, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00509/0.7927, allocations: 3.132 MB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.7956, allocations: 1.898 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.7957, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008605/0.7966, allocations: 255.1 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.797, allocations: 187.3 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.7976, allocations: 215.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.798, allocations: 319 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.7985, allocations: 219 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.7987, allocations: 127.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.799, allocations: 159.4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.799, allocations: 20 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005291/0.7996, allocations: 403.2 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.7997, allocations: 87.8 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.7998, allocations: 127.4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.8003, allocations: 0.4946 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8004, allocations: 3.938 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8004, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.8004, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 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.001011/0.8014, allocations: 0.5497 MB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.8014, allocations: 12.03 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008124/0.8023, allocations: 108.5 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.8027, allocations: 263.7 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.8027, allocations: 16.81 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.8027, allocations: 16.38 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.8032, allocations: 357.4 kB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8033, allocations: 4 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.8033, allocations: 11.97 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.8034, allocations: 28.42 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.8038, allocations: 293.5 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.8059, allocations: 1.729 MB / 1.027 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.8064, allocations: 326.1 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.8066, allocations: 105.7 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.8067, allocations: 93.03 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.8067, allocations: 42.44 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.8067, allocations: 0 / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002466/0.8092, allocations: 0.9596 MB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.8093, allocations: 85.05 kB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.8095, allocations: 216.7 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.8096, allocations: 25.7 kB / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.8097, allocations: 168.2 kB / 1.029 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.8097, allocations: 86.88 kB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.8098, allocations: 69.53 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.81, allocations: 326.8 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.8102, allocations: 127.9 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.8104, allocations: 214.5 kB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.8109, allocations: 362.8 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.8109, allocations: 3.938 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008554/0.8118, allocations: 0.516 MB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8118, allocations: 4 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8118, allocations: 4 kB / 1.031 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.8124, allocations: 151.4 kB / 1.031 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.8126, allocations: 55.91 kB / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.8157, allocations: 4.198 MB / 1.035 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.8159, allocations: 20.02 kB / 1.035 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.8159, allocations: 8.094 kB / 1.035 GB, free: 14.84 MB / 0.795 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.0002036/0.8162, allocations: 181.2 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.8162, allocations: 19.72 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008451/0.8171, allocations: 478.5 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8171, allocations: 4 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.8171, allocations: 0 / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8171, allocations: 0 / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.8186, allocations: 1.014 MB / 1.037 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8186, allocations: 4 kB / 1.037 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.8187, allocations: 32.17 kB / 1.037 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.8191, allocations: 147.3 kB / 1.037 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.8192, allocations: 8 kB / 1.037 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.8223, allocations: 4.174 MB / 1.041 GB, free: 8.336 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8223, allocations: 0 / 1.041 GB, free: 8.336 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008767/0.8232, allocations: 0.635 MB / 1.042 GB, free: 7.648 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.8233, allocations: 120.8 kB / 1.042 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.8233, allocations: 15.92 kB / 1.042 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.8236, allocations: 19.98 kB / 1.042 GB, free: 7.477 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.8236, allocations: 32 kB / 1.042 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.8237, allocations: 8 kB / 1.042 GB, free: 7.438 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001501/0.8238, allocations: 156.5 kB / 1.042 GB, free: 7.285 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8238, allocations: 0 / 1.042 GB, free: 7.285 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005427/0.8244, allocations: 91.98 kB / 1.042 GB, free: 7.195 MB / 0.795 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.000259/0.8246, allocations: 139.2 kB / 1.042 GB, free: 7.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009854/0.8256, allocations: 0.5989 MB / 1.043 GB, free: 6.426 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8257, allocations: 4.125 kB / 1.043 GB, free: 6.422 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.8262, allocations: 393.2 kB / 1.043 GB, free: 6.012 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.8267, allocations: 47.89 kB / 1.044 GB, free: 5.965 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.8278, allocations: 0.7377 MB / 1.044 GB, free: 5.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.8282, allocations: 0.7831 MB / 1.045 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.8284, allocations: 58.25 kB / 1.045 GB, free: 4.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.8284, allocations: 23.44 kB / 1.045 GB, free: 4.289 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.8284, allocations: 3.938 kB / 1.045 GB, free: 4.285 MB / 0.795 GB Notification: Performance of Templates: time 0.009161/0.8376, allocations: 4.161 MB / 1.049 GB, free: 160 kB / 0.795 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 -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/jenkins/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