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.001039/0.001039, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000965/0.000965, allocations: 161 kB / 23.82 MB, free: 0.75 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.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.915/1.915, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.222e-06/1.222e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.326e-05, allocations: 7.234 kB / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002614/0.002627, allocations: 2.572 MB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003748, allocations: 0.9978 MB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.003831, allocations: 11.94 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.004171, allocations: 92.06 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.004372, allocations: 140.5 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.004533, allocations: 117.5 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.004775, allocations: 310.9 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.005034, allocations: 180.6 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.005179, allocations: 171.6 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.005377, allocations: 129.6 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.005405, allocations: 20 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.005525, allocations: 95.7 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.005591, allocations: 87.75 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.005657, allocations: 79.83 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.005891, allocations: 227.8 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005894, allocations: 4.531 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.32e-07/0.005895, allocations: 0 / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.005898, allocations: 0.7188 kB / 0.8166 GB, free: 12.57 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.0004794/0.006378, allocations: 0.5331 MB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.006408, allocations: 12.03 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.006765, allocations: 121.1 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.006947, allocations: 189.7 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.006959, allocations: 17.84 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.006982, allocations: 20.38 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.007243, allocations: 294.3 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007253, allocations: 1.094 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.007269, allocations: 4.375 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.0073, allocations: 32.28 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.007427, allocations: 89.47 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.008247, allocations: 1.243 MB / 0.8191 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.008374, allocations: 67.12 kB / 0.8191 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.008404, allocations: 23.67 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.00841, allocations: 1.188 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.008431, allocations: 41.33 kB / 0.8192 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.008432, allocations: 0 / 0.8192 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002425/0.008674, allocations: 119.2 kB / 0.8193 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.008695, allocations: 51.41 kB / 0.8194 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.008825, allocations: 242.8 kB / 0.8196 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.008838, allocations: 36.17 kB / 0.8196 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.008914, allocations: 210.7 kB / 0.8198 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.00893, allocations: 27.78 kB / 0.8198 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.008972, allocations: 43.33 kB / 0.8199 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.009089, allocations: 0.4923 MB / 0.8204 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.009117, allocations: 15.98 kB / 0.8204 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.009191, allocations: 119.4 kB / 0.8205 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.009296, allocations: 135.9 kB / 0.8206 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009298, allocations: 1.344 kB / 0.8206 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001728/0.009471, allocations: 158.4 kB / 0.8208 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.009483, allocations: 8 kB / 0.8208 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.009487, allocations: 8.594 kB / 0.8208 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.009634, allocations: 38.81 kB / 0.8208 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.009694, allocations: 27.98 kB / 0.8209 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007274/0.01042, allocations: 1.742 MB / 0.8226 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.01048, allocations: 19.89 kB / 0.8226 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.01049, allocations: 7.938 kB / 0.8226 GB, free: 5.957 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 7.489e-05/0.01056, allocations: 169.5 kB / 0.8228 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.01059, allocations: 23.89 kB / 0.8228 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.0106, allocations: 14.53 kB / 0.8228 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.0106, allocations: 3.938 kB / 0.8228 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.0106, allocations: 4 kB / 0.8228 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.0106, allocations: 1.094 kB / 0.8228 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.0109, allocations: 397 kB / 0.8232 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01091, allocations: 0 / 0.8232 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.01092, allocations: 9.125 kB / 0.8232 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.261e-05/0.01102, allocations: 34.5 kB / 0.8232 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.01102, allocations: 4 kB / 0.8232 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006534/0.01168, allocations: 1.727 MB / 0.8249 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01168, allocations: 0 / 0.8249 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.01181, allocations: 247.4 kB / 0.8251 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.01183, allocations: 15.91 kB / 0.8252 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.01184, allocations: 4 kB / 0.8252 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.01189, allocations: 12.55 kB / 0.8252 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.01191, allocations: 1.656 kB / 0.8252 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.01191, allocations: 4 kB / 0.8252 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.122e-05/0.01198, allocations: 163.1 kB / 0.8253 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01198, allocations: 0 / 0.8253 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000195/0.01218, allocations: 52.39 kB / 0.8254 GB, free: 2.898 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 6.342e-05/0.01224, allocations: 107.7 kB / 0.8255 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.01245, allocations: 241.4 kB / 0.8257 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01245, allocations: 0 / 0.8257 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.01254, allocations: 197.5 kB / 0.8259 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01274, allocations: 32.48 kB / 0.8259 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.01331, allocations: 354.6 kB / 0.8263 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.01335, allocations: 87.97 kB / 0.8264 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.0134, allocations: 22.09 kB / 0.8264 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.01343, allocations: 16.5 kB / 0.8264 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01343, allocations: 0 / 0.8264 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of Templates: time 0.003135/0.01656, allocations: 1.683 MB / 0.828 GB, free: 128 kB / 0.7761 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.128941491711885]