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.001354/0.001354, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00168/0.00168, allocations: 169 kB / 24.28 MB, free: 280 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.008/1.008, allocations: 177.2 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.872/1.872, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.773e-06/1.773e-06, allocations: 0 / 0.8115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.839e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005869/0.005897, allocations: 3.952 MB / 0.8153 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003188/0.009085, allocations: 1.759 MB / 0.8171 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.009325, allocations: 11.94 kB / 0.8171 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.01057, allocations: 0.5002 MB / 0.8176 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005996/0.01117, allocations: 240.3 kB / 0.8178 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.01172, allocations: 209.6 kB / 0.818 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006666/0.01239, allocations: 486.2 kB / 0.8185 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005636/0.01295, allocations: 289.4 kB / 0.8187 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.01332, allocations: 272.1 kB / 0.819 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.01376, allocations: 204.5 kB / 0.8192 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.01382, allocations: 28 kB / 0.8192 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.01423, allocations: 223.9 kB / 0.8194 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.01438, allocations: 143.6 kB / 0.8196 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.01453, allocations: 120.3 kB / 0.8197 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.01517, allocations: 403.5 kB / 0.8201 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01517, allocations: 0 / 0.8201 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.655e-06/0.01517, allocations: 3.984 kB / 0.8201 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.01518, allocations: 0.8125 kB / 0.8201 GB, free: 8.188 MB / 0.7292 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.0009808/0.01616, allocations: 0.661 MB / 0.8207 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.01621, allocations: 8.031 kB / 0.8207 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.01728, allocations: 206.2 kB / 0.8209 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.01769, allocations: 233.3 kB / 0.8211 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.01772, allocations: 18.44 kB / 0.8212 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.01777, allocations: 28.38 kB / 0.8212 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.01836, allocations: 468.9 kB / 0.8216 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01837, allocations: 4.125 kB / 0.8216 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.01841, allocations: 13.91 kB / 0.8217 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.01848, allocations: 32.58 kB / 0.8217 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.01882, allocations: 140.6 kB / 0.8218 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.02091, allocations: 1.911 MB / 0.8237 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.0212, allocations: 127.6 kB / 0.8238 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.02139, allocations: 69.48 kB / 0.8239 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.0214, allocations: 4 kB / 0.8239 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.02143, allocations: 37.33 kB / 0.8239 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/0.02143, allocations: 0 / 0.8239 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0004811/0.02191, allocations: 166.6 kB / 0.8241 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.02194, allocations: 52.81 kB / 0.8241 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.02217, allocations: 274.6 kB / 0.8244 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.02219, allocations: 29.7 kB / 0.8244 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.02232, allocations: 267.4 kB / 0.8247 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.02236, allocations: 51.58 kB / 0.8247 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.02244, allocations: 52.06 kB / 0.8248 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.02258, allocations: 0.5088 MB / 0.8253 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.02265, allocations: 24.45 kB / 0.8253 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.02279, allocations: 154 kB / 0.8254 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.023, allocations: 196.8 kB / 0.8256 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02301, allocations: 0 / 0.8256 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003656/0.02337, allocations: 211 kB / 0.8258 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.02339, allocations: 9.125 kB / 0.8258 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.0234, allocations: 0 / 0.8258 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.02363, allocations: 41.34 kB / 0.8259 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.02381, allocations: 48.8 kB / 0.8259 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.0249, allocations: 1.746 MB / 0.8276 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.02505, allocations: 23.78 kB / 0.8276 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.02506, allocations: 13.09 kB / 0.8277 GB, free: 15.89 MB / 0.7448 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.0001218/0.02518, allocations: 169.2 kB / 0.8278 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.02524, allocations: 23.91 kB / 0.8278 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.02528, allocations: 27.55 kB / 0.8279 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.02528, allocations: 7.938 kB / 0.8279 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.02528, allocations: 0 / 0.8279 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02529, allocations: 0 / 0.8279 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.02604, allocations: 0.5605 MB / 0.8284 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.02604, allocations: 7.938 kB / 0.8284 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.02613, allocations: 27.92 kB / 0.8285 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.02628, allocations: 36.59 kB / 0.8285 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.02629, allocations: 0 / 0.8285 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.02749, allocations: 1.744 MB / 0.8302 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.0275, allocations: 4 kB / 0.8302 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.0278, allocations: 342.9 kB / 0.8305 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.02788, allocations: 31.83 kB / 0.8306 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.0279, allocations: 4 kB / 0.8306 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.02804, allocations: 8.719 kB / 0.8306 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.02808, allocations: 25.56 kB / 0.8306 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.02809, allocations: 4 kB / 0.8306 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001429/0.02824, allocations: 185.5 kB / 0.8308 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02824, allocations: 0 / 0.8308 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000481/0.02872, allocations: 92.55 kB / 0.8309 GB, free: 12.36 MB / 0.7448 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.0001322/0.02885, allocations: 111.2 kB / 0.831 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.0293, allocations: 279.9 kB / 0.8312 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.0293, allocations: 0 / 0.8312 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.0295, allocations: 226.3 kB / 0.8314 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.02999, allocations: 65.89 kB / 0.8315 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.03122, allocations: 0.5397 MB / 0.832 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.763e-05/0.03132, allocations: 104.3 kB / 0.8321 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.03146, allocations: 33.92 kB / 0.8322 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.03151, allocations: 20.5 kB / 0.8322 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.03151, allocations: 0 / 0.8322 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of Templates: time 0.006121/0.03763, allocations: 2.468 MB / 0.8346 GB, free: 8.48 MB / 0.7448 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 -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: 4.965400233166292]