Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9763/0.9763, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.999/1.999, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.76 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.682e-05, allocations: 6.312 kB / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003908/0.003925, allocations: 2.562 MB / 0.7625 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.005571, allocations: 1.013 MB / 0.7635 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.005679, allocations: 4 kB / 0.7635 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.006132, allocations: 96.09 kB / 0.7636 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.006416, allocations: 137.4 kB / 0.7637 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.006649, allocations: 111.6 kB / 0.7638 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.007001, allocations: 318.9 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.007282, allocations: 194.8 kB / 0.7643 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.007485, allocations: 171.6 kB / 0.7645 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.007757, allocations: 125.7 kB / 0.7646 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.007792, allocations: 20 kB / 0.7646 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.007955, allocations: 87.8 kB / 0.7647 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.008052, allocations: 91.73 kB / 0.7648 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.008146, allocations: 79.77 kB / 0.7649 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.008469, allocations: 224.1 kB / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.008471, allocations: 0 / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.008472, allocations: 0.75 kB / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.008476, allocations: 0 / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005982/0.009074, allocations: 423 kB / 0.7655 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.009107, allocations: 8.031 kB / 0.7655 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.009641, allocations: 116.7 kB / 0.7656 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.009876, allocations: 176.5 kB / 0.7658 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.009894, allocations: 12.75 kB / 0.7658 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.009931, allocations: 24.38 kB / 0.7658 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.01024, allocations: 277.3 kB / 0.7661 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01025, allocations: 192 / 0.7661 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.01027, allocations: 8.375 kB / 0.7661 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.01031, allocations: 22.11 kB / 0.7661 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.01043, allocations: 64.78 kB / 0.7661 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/0.01138, allocations: 0.8913 MB / 0.767 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.01152, allocations: 57.33 kB / 0.7671 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.01155, allocations: 12.86 kB / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.01156, allocations: 0 / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.01158, allocations: 45.25 kB / 0.7671 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 3.967e-06/0.01159, allocations: 0 / 0.7671 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002805/0.01187, allocations: 94.58 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.01189, allocations: 51.41 kB / 0.7673 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.01203, allocations: 179.5 kB / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.01205, allocations: 27.02 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.01213, allocations: 175.8 kB / 0.7676 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.01215, allocations: 19.84 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.0122, allocations: 37.66 kB / 0.7677 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.01229, allocations: 327.5 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.01232, allocations: 12.48 kB / 0.768 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.01238, allocations: 76.58 kB / 0.7681 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.01249, allocations: 109.4 kB / 0.7682 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01249, allocations: 0 / 0.7682 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002027/0.0127, allocations: 138.1 kB / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01271, allocations: 9.719 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01272, allocations: 0.5312 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.01288, allocations: 32.09 kB / 0.7684 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.01297, allocations: 27.92 kB / 0.7684 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007853/0.01376, allocations: 1.204 MB / 0.7696 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.139e-05/0.01385, allocations: 15.89 kB / 0.7696 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.01386, allocations: 4 kB / 0.7696 GB, free: 12.53 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.01394, allocations: 120.7 kB / 0.7697 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.01398, allocations: 9.562 kB / 0.7697 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.014, allocations: 21.45 kB / 0.7697 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.014, allocations: 3.938 kB / 0.7697 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.014, allocations: 0 / 0.7697 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01401, allocations: 5.219 kB / 0.7697 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.01432, allocations: 255.6 kB / 0.77 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01432, allocations: 0 / 0.77 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.01435, allocations: 16.52 kB / 0.77 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.01447, allocations: 26.53 kB / 0.77 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.01448, allocations: 7.094 kB / 0.77 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006776/0.01515, allocations: 1.186 MB / 0.7712 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01516, allocations: 3.984 kB / 0.7712 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01529, allocations: 171.5 kB / 0.7714 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.01533, allocations: 15.53 kB / 0.7714 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.01534, allocations: 0 / 0.7714 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.01544, allocations: 11.98 kB / 0.7714 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.01546, allocations: 7.938 kB / 0.7714 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.01546, allocations: 4 kB / 0.7714 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.01551, allocations: 40.81 kB / 0.7714 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01551, allocations: 0 / 0.7714 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003254/0.01584, allocations: 55.84 kB / 0.7715 GB, free: 10.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.752e-05/0.01593, allocations: 89.33 kB / 0.7716 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.01616, allocations: 177.3 kB / 0.7717 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.01616, allocations: 1.219 kB / 0.7717 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/0.01625, allocations: 139.4 kB / 0.7719 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.0165, allocations: 32.64 kB / 0.7719 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.01725, allocations: 365.3 kB / 0.7723 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.01732, allocations: 92.72 kB / 0.7723 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.582e-05/0.01738, allocations: 12.81 kB / 0.7724 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.01749, allocations: 79.34 kB / 0.7724 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/0.01749, allocations: 0 / 0.7724 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of Templates: time 0.004541/0.02203, allocations: 1.785 MB / 0.7742 GB, free: 7.695 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.131527230609208]