Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0009317/0.0009317, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001143/0.001143, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.079/1.079, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.9 MB / 0.6247 GB, free: 8.395 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.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.98e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002501/0.002521, allocations: 1.458 MB / 0.8142 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.004665, allocations: 1.908 MB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.004699, allocations: 0 / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.005706, allocations: 372.7 kB / 0.8164 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.005758, allocations: 23.84 kB / 0.8164 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.526e-06/0.005761, allocations: 0.625 kB / 0.8164 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.005985, allocations: 133 kB / 0.8165 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.006034, allocations: 5.688 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.006116, allocations: 59.81 kB / 0.8166 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.006229, allocations: 51.89 kB / 0.8167 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.006247, allocations: 4 kB / 0.8167 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.006619, allocations: 181 kB / 0.8168 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.00667, allocations: 35.83 kB / 0.8169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.006734, allocations: 45.31 kB / 0.8169 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.007144, allocations: 294.8 kB / 0.8172 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.007146, allocations: 0 / 0.8172 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.007147, allocations: 0 / 0.8172 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.00715, allocations: 0.625 kB / 0.8172 GB, free: 12.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005961/0.007746, allocations: 0.5201 MB / 0.8177 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.007783, allocations: 8.781 kB / 0.8177 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.007922, allocations: 144 kB / 0.8178 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.0081, allocations: 271.8 kB / 0.8181 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.008168, allocations: 238.8 kB / 0.8183 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.008236, allocations: 244 kB / 0.8186 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.0083, allocations: 145.5 kB / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.008336, allocations: 127.3 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.008401, allocations: 246.5 kB / 0.8191 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.533e-05/0.008476, allocations: 244.2 kB / 0.8193 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.008542, allocations: 238.4 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.008859, allocations: 0.6036 MB / 0.8201 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.008963, allocations: 265.4 kB / 0.8204 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.009004, allocations: 134.8 kB / 0.8205 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.009034, allocations: 120 kB / 0.8206 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.009084, allocations: 156.6 kB / 0.8208 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.009086, allocations: 0.9375 kB / 0.8208 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.000286/0.009372, allocations: 45.59 kB / 0.8208 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.009492, allocations: 171.9 kB / 0.821 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.009864, allocations: 371.9 kB / 0.8213 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.00988, allocations: 25.7 kB / 0.8213 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.00999, allocations: 175.2 kB / 0.8215 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.009992, allocations: 0.9688 kB / 0.8215 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.0101, allocations: 95.27 kB / 0.8216 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.01031, allocations: 0.5141 MB / 0.8221 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.01036, allocations: 23.98 kB / 0.8221 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.01042, allocations: 101.5 kB / 0.8222 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.01054, allocations: 153.6 kB / 0.8224 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01054, allocations: 0 / 0.8224 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000251/0.01079, allocations: 169.4 kB / 0.8225 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.0108, allocations: 11.44 kB / 0.8225 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01081, allocations: 3.984 kB / 0.8225 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01083, allocations: 11.98 kB / 0.8226 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-06/0.01083, allocations: 0 / 0.8226 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01084, allocations: 11.88 kB / 0.8226 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.01092, allocations: 27.67 kB / 0.8226 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.01092, allocations: 4 kB / 0.8226 GB, free: 7.148 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.01104, allocations: 280.5 kB / 0.8229 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.0111, allocations: 168.7 kB / 0.823 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.01115, allocations: 158.1 kB / 0.8232 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.623e-05/0.0112, allocations: 264.1 kB / 0.8234 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-05/0.01126, allocations: 272.6 kB / 0.8237 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/0.01132, allocations: 272.6 kB / 0.8239 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.01151, allocations: 0.5083 MB / 0.8244 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.01154, allocations: 150.2 kB / 0.8246 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.01157, allocations: 148.9 kB / 0.8247 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.842e-05/0.01163, allocations: 268 kB / 0.825 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/0.0117, allocations: 272.7 kB / 0.8252 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.914e-05/0.01176, allocations: 264.1 kB / 0.8255 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-05/0.01182, allocations: 268.7 kB / 0.8258 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.01196, allocations: 469.3 kB / 0.8262 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.01201, allocations: 160.8 kB / 0.8264 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.01208, allocations: 272.1 kB / 0.8266 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.01216, allocations: 152.8 kB / 0.8268 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.01222, allocations: 268 kB / 0.827 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.01226, allocations: 152.8 kB / 0.8272 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.327e-05/0.01235, allocations: 209.1 kB / 0.8274 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01235, allocations: 0 / 0.8274 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002199/0.01257, allocations: 63.94 kB / 0.8274 GB, free: 2.031 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.01282, allocations: 338.4 kB / 0.8277 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.01292, allocations: 71.02 kB / 0.8278 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01292, allocations: 4 kB / 0.8278 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.01292, allocations: 0 / 0.8278 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.01323, allocations: 0.7104 MB / 0.8285 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.01368, allocations: 398.7 kB / 0.8289 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01373, allocations: 87.3 kB / 0.829 GB, free: 396 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.215e-06/0.01374, allocations: 0.5625 kB / 0.829 GB, free: 396 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.01378, allocations: 74.8 kB / 0.829 GB, free: 320 kB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01378, allocations: 0 / 0.829 GB, free: 320 kB / 0.7761 GB Notification: Performance of Templates: time 0.004284/0.01806, allocations: 2.807 MB / 0.8318 GB, free: 13.53 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.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.194409923162311]