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.001006/0.001006, allocations: 84.3 kB / 21.47 MB, free: 3.027 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.001091/0.001091, allocations: 166.1 kB / 24.86 MB, free: 9.207 MB / 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.9639/0.9639, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.901/1.901, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.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.563e-06/1.563e-06, allocations: 0 / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.401e-05, allocations: 6.344 kB / 0.8127 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004147/0.004171, allocations: 2.551 MB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.005898, allocations: 1.002 MB / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.006002, allocations: 4 kB / 0.8162 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.006385, allocations: 99.38 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.006638, allocations: 136.9 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.006822, allocations: 108.8 kB / 0.8165 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.007097, allocations: 314.9 kB / 0.8168 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.007366, allocations: 180.6 kB / 0.817 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.007517, allocations: 181.3 kB / 0.8172 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.007731, allocations: 127.6 kB / 0.8173 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.007755, allocations: 16 kB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.007881, allocations: 95.77 kB / 0.8174 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.007955, allocations: 94.33 kB / 0.8175 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.008018, allocations: 79.83 kB / 0.8176 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.008251, allocations: 223.2 kB / 0.8178 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.008253, allocations: 0 / 0.8178 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008254, allocations: 0 / 0.8178 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.008258, allocations: 0 / 0.8178 GB, free: 12.32 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004812/0.00874, allocations: 0.5396 MB / 0.8183 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.008767, allocations: 8.562 kB / 0.8183 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.009106, allocations: 114.2 kB / 0.8184 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.009282, allocations: 184.8 kB / 0.8186 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.009295, allocations: 17.66 kB / 0.8186 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.009316, allocations: 20.38 kB / 0.8187 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.009542, allocations: 282.3 kB / 0.8189 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.00955, allocations: 5.344 kB / 0.8189 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.009564, allocations: 4.375 kB / 0.8189 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.009588, allocations: 20.31 kB / 0.819 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.009673, allocations: 70.12 kB / 0.819 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.01047, allocations: 1.242 MB / 0.8202 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.01058, allocations: 75.53 kB / 0.8203 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.01065, allocations: 16.53 kB / 0.8203 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.01066, allocations: 4 kB / 0.8203 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.01068, allocations: 39.42 kB / 0.8204 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.01068, allocations: 0 / 0.8204 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000249/0.01093, allocations: 113.6 kB / 0.8205 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.01096, allocations: 55.94 kB / 0.8205 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01108, allocations: 234.7 kB / 0.8207 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.01109, allocations: 32.27 kB / 0.8208 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.01117, allocations: 222.7 kB / 0.821 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.01118, allocations: 23.78 kB / 0.821 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.01123, allocations: 43.3 kB / 0.8211 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01134, allocations: 0.4962 MB / 0.8215 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.01136, allocations: 15.98 kB / 0.8216 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.01142, allocations: 103.5 kB / 0.8217 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.01151, allocations: 136.8 kB / 0.8218 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01152, allocations: 4 kB / 0.8218 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000159/0.01167, allocations: 150.1 kB / 0.8219 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01169, allocations: 7.984 kB / 0.8219 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01169, allocations: 4 kB / 0.8219 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.01182, allocations: 31.61 kB / 0.822 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.01188, allocations: 31.92 kB / 0.822 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007425/0.01262, allocations: 1.723 MB / 0.8237 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.01268, allocations: 12.92 kB / 0.8237 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.01269, allocations: 8 kB / 0.8237 GB, free: 5.816 MB / 0.7761 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.122e-05/0.01277, allocations: 169.6 kB / 0.8239 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.0128, allocations: 15.91 kB / 0.8239 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.01281, allocations: 18.48 kB / 0.8239 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.01281, allocations: 64 / 0.8239 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01282, allocations: 11.94 kB / 0.8239 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01282, allocations: 5.156 kB / 0.8239 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.01308, allocations: 349.7 kB / 0.8242 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01308, allocations: 0.7812 kB / 0.8242 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.0131, allocations: 7.938 kB / 0.8243 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-05/0.01319, allocations: 37.44 kB / 0.8243 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-06/0.01319, allocations: 1.969 kB / 0.8243 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006537/0.01384, allocations: 1.708 MB / 0.826 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01385, allocations: 4 kB / 0.826 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.01398, allocations: 239.4 kB / 0.8262 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.014, allocations: 15.91 kB / 0.8262 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.01401, allocations: 0 / 0.8262 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.01406, allocations: 11.92 kB / 0.8262 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.01408, allocations: 5.75 kB / 0.8262 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.01408, allocations: 4 kB / 0.8262 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.311e-05/0.01414, allocations: 159.1 kB / 0.8264 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01414, allocations: 0 / 0.8264 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001999/0.01434, allocations: 55.83 kB / 0.8264 GB, free: 2.84 MB / 0.7761 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 7.611e-05/0.01442, allocations: 99.78 kB / 0.8265 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01463, allocations: 237.4 kB / 0.8268 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01463, allocations: 0 / 0.8268 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.01472, allocations: 193.5 kB / 0.8269 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01494, allocations: 32.48 kB / 0.827 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.01552, allocations: 350.6 kB / 0.8273 GB, free: 1.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.01557, allocations: 91.91 kB / 0.8274 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.695e-05/0.01561, allocations: 13.48 kB / 0.8274 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.01569, allocations: 102.2 kB / 0.8275 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01569, allocations: 0 / 0.8275 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of Templates: time 0.003477/0.01917, allocations: 1.821 MB / 0.8293 GB, free: 15.87 MB / 0.7917 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.06053929310292]