Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001381/0.001381, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001743/0.001743, allocations: 161.4 kB / 24.16 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 1.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.987/1.987, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.492e-05, allocations: 5.406 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005327/0.005362, allocations: 3.011 MB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.008008, allocations: 1.139 MB / 0.7641 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.008191, allocations: 13.28 kB / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.008807, allocations: 123.2 kB / 0.7642 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.009296, allocations: 196 kB / 0.7644 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.00972, allocations: 153.8 kB / 0.7645 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.01028, allocations: 498.2 kB / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.01072, allocations: 292 kB / 0.7653 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.01105, allocations: 268 kB / 0.7656 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.01146, allocations: 196.6 kB / 0.7657 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.01151, allocations: 28 kB / 0.7658 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.01177, allocations: 100.6 kB / 0.7659 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.01192, allocations: 135.6 kB / 0.766 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.01206, allocations: 125 kB / 0.7661 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.01254, allocations: 326.8 kB / 0.7664 GB, free: 88 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01254, allocations: 4 kB / 0.7664 GB, free: 84 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01254, allocations: 1.5 kB / 0.7664 GB, free: 84 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.01255, allocations: 0 / 0.7664 GB, free: 84 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008098/0.01336, allocations: 0.5123 MB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.0134, allocations: 8.781 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009421/0.01434, allocations: 182 kB / 0.7671 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.01468, allocations: 212.9 kB / 0.7673 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.01472, allocations: 28.97 kB / 0.7673 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.01477, allocations: 32.38 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.01527, allocations: 427.4 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01528, allocations: 192 / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.01532, allocations: 12.38 kB / 0.7678 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.01538, allocations: 39.55 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.01559, allocations: 92.42 kB / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.01717, allocations: 1.33 MB / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.0174, allocations: 89.38 kB / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.01755, allocations: 56.81 kB / 0.7694 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.01756, allocations: 4 kB / 0.7694 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.0176, allocations: 38.56 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.0176, allocations: 0 / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000403/0.018, allocations: 128.5 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.01804, allocations: 55.41 kB / 0.7696 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.01823, allocations: 219.2 kB / 0.7698 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.01825, allocations: 29.7 kB / 0.7698 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01838, allocations: 200.1 kB / 0.77 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.01842, allocations: 59.52 kB / 0.7701 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.01851, allocations: 51.27 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.01864, allocations: 330.8 kB / 0.7704 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.01868, allocations: 20.41 kB / 0.7704 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.01879, allocations: 105.2 kB / 0.7705 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.01897, allocations: 154.5 kB / 0.7707 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01898, allocations: 0 / 0.7707 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003047/0.01928, allocations: 171 kB / 0.7708 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.0193, allocations: 8 kB / 0.7709 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.01931, allocations: 4.594 kB / 0.7709 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.01953, allocations: 30.64 kB / 0.7709 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.01972, allocations: 53.27 kB / 0.7709 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009526/0.02067, allocations: 1.185 MB / 0.7721 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.02081, allocations: 30.2 kB / 0.7721 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.02083, allocations: 15.94 kB / 0.7721 GB, free: 9.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 0.0001254/0.02095, allocations: 124.6 kB / 0.7723 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.021, allocations: 15.98 kB / 0.7723 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.02104, allocations: 25.45 kB / 0.7723 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02104, allocations: 2.062 kB / 0.7723 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.02104, allocations: 0 / 0.7723 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.02105, allocations: 4 kB / 0.7723 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.02188, allocations: 0.5816 MB / 0.7729 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.02189, allocations: 4 kB / 0.7729 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.02199, allocations: 23.98 kB / 0.7729 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.02215, allocations: 35.56 kB / 0.7729 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.02216, allocations: 8 kB / 0.7729 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008604/0.02302, allocations: 1.19 MB / 0.7741 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02302, allocations: 0 / 0.7741 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.02328, allocations: 288.6 kB / 0.7744 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.02335, allocations: 35.78 kB / 0.7744 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.02338, allocations: 9.906 kB / 0.7744 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.02353, allocations: 8 kB / 0.7744 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.02356, allocations: 19.91 kB / 0.7745 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.02357, allocations: 4 kB / 0.7745 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.263e-05/0.02367, allocations: 72.22 kB / 0.7745 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.02367, allocations: 3.938 kB / 0.7745 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004165/0.02408, allocations: 83.78 kB / 0.7746 GB, free: 7.098 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 0.0001338/0.02422, allocations: 82.33 kB / 0.7747 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.0246, allocations: 216.7 kB / 0.7749 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.0246, allocations: 1.781 kB / 0.7749 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.02477, allocations: 163.4 kB / 0.775 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.02515, allocations: 59.98 kB / 0.7751 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.02631, allocations: 0.5426 MB / 0.7756 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02642, allocations: 112.3 kB / 0.7757 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.02652, allocations: 18.58 kB / 0.7758 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.02668, allocations: 99.34 kB / 0.7759 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/0.02668, allocations: 0 / 0.7759 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of Templates: time 0.006519/0.0332, allocations: 2.631 MB / 0.7784 GB, free: 3.242 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.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.191325535997748]