Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 188.9 kB / 22.1 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.124/3.124, allocations: 495.8 MB / 0.783 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 66.22 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3436, allocations: 173.6 MB / 1.307 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005417/0.349, allocations: 3.18 MB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.3523, allocations: 1.975 MB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.3524, allocations: 7.938 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009941/0.3534, allocations: 298.8 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.3539, allocations: 195.1 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.3545, allocations: 243.3 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.3549, allocations: 326.7 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.3552, allocations: 129.2 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.3554, allocations: 143.5 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.3557, allocations: 159.4 kB / 1.313 GB, free: 11.24 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.3558, allocations: 20 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.3564, allocations: 375.3 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3565, allocations: 91.72 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3566, allocations: 115.5 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.3573, allocations: 494.2 kB / 1.314 GB, free: 10.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3573, allocations: 0 / 1.314 GB, free: 10.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3573, allocations: 0 / 1.314 GB, free: 10.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3573, allocations: 0 / 1.314 GB, free: 10.17 MB / 1.014 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.0008838/0.3582, allocations: 497.1 kB / 1.315 GB, free: 9.652 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3582, allocations: 12.03 kB / 1.315 GB, free: 9.641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.359, allocations: 120.5 kB / 1.315 GB, free: 9.523 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3594, allocations: 202.2 kB / 1.315 GB, free: 9.301 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3594, allocations: 16.75 kB / 1.315 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.3594, allocations: 20.38 kB / 1.315 GB, free: 9.266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.36, allocations: 361 kB / 1.315 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.36, allocations: 0 / 1.315 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.3601, allocations: 8 kB / 1.315 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.3601, allocations: 28.41 kB / 1.315 GB, free: 8.852 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.3606, allocations: 289.5 kB / 1.316 GB, free: 8.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.3629, allocations: 1.635 MB / 1.317 GB, free: 6.793 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.3633, allocations: 233 kB / 1.318 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3635, allocations: 101.7 kB / 1.318 GB, free: 6.441 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.3636, allocations: 19.94 kB / 1.318 GB, free: 6.422 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3636, allocations: 34.56 kB / 1.318 GB, free: 6.379 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.3636, allocations: 0 / 1.318 GB, free: 6.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002568/0.3662, allocations: 0.8961 MB / 1.319 GB, free: 5.469 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.3662, allocations: 85.05 kB / 1.319 GB, free: 5.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3665, allocations: 211.7 kB / 1.319 GB, free: 5.148 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3665, allocations: 29.7 kB / 1.319 GB, free: 5.113 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3666, allocations: 176.4 kB / 1.319 GB, free: 4.938 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.3667, allocations: 83.28 kB / 1.319 GB, free: 4.855 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3668, allocations: 61.69 kB / 1.319 GB, free: 4.789 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.367, allocations: 334.8 kB / 1.32 GB, free: 4.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3672, allocations: 135.8 kB / 1.32 GB, free: 4.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.3675, allocations: 206.8 kB / 1.32 GB, free: 4.086 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.368, allocations: 374.9 kB / 1.32 GB, free: 3.688 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.368, allocations: 0 / 1.32 GB, free: 3.688 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009197/0.3689, allocations: 0.5155 MB / 1.321 GB, free: 3.156 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3689, allocations: 4 kB / 1.321 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3689, allocations: 7.938 kB / 1.321 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/0.3695, allocations: 155.3 kB / 1.321 GB, free: 2.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.3697, allocations: 60 kB / 1.321 GB, free: 2.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.3736, allocations: 3.984 MB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.3738, allocations: 20.14 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3738, allocations: 16 kB / 1.325 GB, free: 14.62 MB / 1.029 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.000216/0.374, allocations: 165.6 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.3741, allocations: 27.86 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/0.3751, allocations: 474.7 kB / 1.325 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3751, allocations: 4 kB / 1.325 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3751, allocations: 0 / 1.325 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3751, allocations: 0 / 1.325 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.3768, allocations: 0.9657 MB / 1.326 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3768, allocations: 8.25 kB / 1.326 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.3769, allocations: 35.92 kB / 1.326 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.3774, allocations: 143.3 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.3774, allocations: 11.98 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/0.3808, allocations: 3.945 MB / 1.33 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3808, allocations: 4 kB / 1.33 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.3818, allocations: 0.6208 MB / 1.331 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3819, allocations: 51.77 kB / 1.331 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3819, allocations: 11.94 kB / 1.331 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3822, allocations: 15.98 kB / 1.331 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.3822, allocations: 27.89 kB / 1.331 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3823, allocations: 8 kB / 1.331 GB, free: 7.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001732/0.3824, allocations: 165.5 kB / 1.331 GB, free: 7.504 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3824, allocations: 0 / 1.331 GB, free: 7.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005621/0.383, allocations: 91.92 kB / 1.331 GB, free: 7.414 MB / 1.029 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.0002191/0.3832, allocations: 135.9 kB / 1.332 GB, free: 7.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.3843, allocations: 0.5633 MB / 1.332 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3843, allocations: 4 kB / 1.332 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005499/0.3849, allocations: 398.2 kB / 1.332 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.3854, allocations: 51.7 kB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3865, allocations: 0.6402 MB / 1.333 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.3869, allocations: 0.7792 MB / 1.334 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.3871, allocations: 54.25 kB / 1.334 GB, free: 4.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.3872, allocations: 27.38 kB / 1.334 GB, free: 4.645 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3872, allocations: 0 / 1.334 GB, free: 4.645 MB / 1.029 GB Notification: Performance of Templates: time 0.009702/0.3969, allocations: 4.448 MB / 1.338 GB, free: 228 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.04727830272168]