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.0009101/0.0009101, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009413/0.0009413, allocations: 181.3 kB / 24.09 MB, free: 416 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.9611/0.9611, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.862/1.862, allocations: 377.9 MB / 0.624 GB, free: 8.418 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.794e-06/1.794e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.014e-05, allocations: 2.312 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004588/0.004619, allocations: 2.956 MB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.006612, allocations: 1.123 MB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.006775, allocations: 13.44 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.007246, allocations: 115.2 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.00758, allocations: 200.3 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.007884, allocations: 157.3 kB / 0.8164 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.008331, allocations: 498.2 kB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.008721, allocations: 286.3 kB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.008992, allocations: 279.4 kB / 0.8174 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.009308, allocations: 204.6 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.009345, allocations: 28 kB / 0.8177 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.009511, allocations: 99.73 kB / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.823e-05/0.00961, allocations: 136.7 kB / 0.8179 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.009701, allocations: 123.7 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.01004, allocations: 319.7 kB / 0.8183 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01005, allocations: 3.984 kB / 0.8183 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.01005, allocations: 0.6875 kB / 0.8183 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.01006, allocations: 0 / 0.8183 GB, free: 10.99 MB / 0.7761 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.0006632/0.01072, allocations: 0.647 MB / 0.819 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.01076, allocations: 12.03 kB / 0.819 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005493/0.01131, allocations: 173.7 kB / 0.8191 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.01158, allocations: 233.1 kB / 0.8194 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.0116, allocations: 22.25 kB / 0.8194 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.01163, allocations: 36.36 kB / 0.8194 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.01197, allocations: 440.9 kB / 0.8198 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.01198, allocations: 4.125 kB / 0.8198 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.012, allocations: 13.03 kB / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.01205, allocations: 33.14 kB / 0.8199 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01218, allocations: 118.4 kB / 0.82 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.01339, allocations: 1.853 MB / 0.8218 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.01356, allocations: 111.2 kB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.01366, allocations: 60.45 kB / 0.822 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.01367, allocations: 0.9375 kB / 0.822 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.01369, allocations: 41.39 kB / 0.822 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.0137, allocations: 1.344 kB / 0.822 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0003219/0.01402, allocations: 149.3 kB / 0.8221 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.01404, allocations: 56.38 kB / 0.8222 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.01419, allocations: 274.5 kB / 0.8225 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.01421, allocations: 32.02 kB / 0.8225 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.01446, allocations: 258.9 kB / 0.8227 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.01448, allocations: 47.58 kB / 0.8228 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.01454, allocations: 59.53 kB / 0.8228 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01465, allocations: 0.5001 MB / 0.8233 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.01467, allocations: 16.45 kB / 0.8233 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.01475, allocations: 157.1 kB / 0.8235 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.01488, allocations: 183 kB / 0.8237 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01488, allocations: 4.5 kB / 0.8237 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002133/0.0151, allocations: 200.4 kB / 0.8239 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01511, allocations: 8 kB / 0.8239 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01512, allocations: 0 / 0.8239 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.01527, allocations: 37.62 kB / 0.8239 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01537, allocations: 48.45 kB / 0.824 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000762/0.01613, allocations: 1.727 MB / 0.8256 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-05/0.01623, allocations: 31.72 kB / 0.8257 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.01624, allocations: 4 kB / 0.8257 GB, free: 2.938 MB / 0.7761 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 9.892e-05/0.01634, allocations: 176.5 kB / 0.8258 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.01636, allocations: 23.86 kB / 0.8259 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.01639, allocations: 25.45 kB / 0.8259 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01639, allocations: 4 kB / 0.8259 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01639, allocations: 0 / 0.8259 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.0164, allocations: 3.938 kB / 0.8259 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.0169, allocations: 0.5592 MB / 0.8264 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.0169, allocations: 4 kB / 0.8264 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.01695, allocations: 21.05 kB / 0.8265 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.01705, allocations: 36.22 kB / 0.8265 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.01706, allocations: 8 kB / 0.8265 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006443/0.0177, allocations: 1.713 MB / 0.8282 GB, free: 176 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01771, allocations: 7.938 kB / 0.8282 GB, free: 168 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.01794, allocations: 340.2 kB / 0.8285 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.01798, allocations: 36.38 kB / 0.8285 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.01799, allocations: 5.656 kB / 0.8286 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.01808, allocations: 19.94 kB / 0.8286 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.0181, allocations: 11.97 kB / 0.8286 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.0181, allocations: 8 kB / 0.8286 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.322e-05/0.01819, allocations: 182.3 kB / 0.8288 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.01819, allocations: 0 / 0.8288 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002743/0.01846, allocations: 83.84 kB / 0.8288 GB, free: 15.45 MB / 0.7917 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 9.584e-05/0.01856, allocations: 107.1 kB / 0.8289 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.01882, allocations: 273.3 kB / 0.8292 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01882, allocations: 0.75 kB / 0.8292 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.01894, allocations: 217.5 kB / 0.8294 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.01925, allocations: 48.69 kB / 0.8295 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02028, allocations: 0.5423 MB / 0.83 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.879e-05/0.02035, allocations: 108.3 kB / 0.8301 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.185e-05/0.02043, allocations: 25.94 kB / 0.8301 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.02054, allocations: 114.2 kB / 0.8302 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of SimCode: time 1.302e-06/0.02055, allocations: 3.938 kB / 0.8302 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of Templates: time 0.004814/0.02536, allocations: 2.641 MB / 0.8328 GB, free: 11.32 MB / 0.7917 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: 5.045395993627608]