Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 55.91 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9478/0.9493, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002716/0.9521, allocations: 1.409 MB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003083/0.9552, allocations: 2.67 MB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.9552, allocations: 4.781 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.957, allocations: 0.577 MB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.957, allocations: 25.92 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.17e-06/0.9571, allocations: 0 / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.9573, allocations: 161.6 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.9574, allocations: 31.39 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.9575, allocations: 65.56 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.9577, allocations: 76.78 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.9578, allocations: 2.625 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.959, allocations: 477.3 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.9591, allocations: 33.08 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.9593, allocations: 101.6 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008316/0.9601, allocations: 435.7 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.9601, allocations: 3.938 kB / 1.095 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9601, allocations: 0.7812 kB / 1.095 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.9601, allocations: 0 / 1.095 GB, free: 1.836 MB / 0.8575 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.0008649/0.961, allocations: 0.5473 MB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9611, allocations: 8.969 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.9612, allocations: 101.5 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.9614, allocations: 303 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.9615, allocations: 160.6 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.9615, allocations: 153.5 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.424e-05/0.9616, allocations: 106.8 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.9616, allocations: 76.5 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.9616, allocations: 154.5 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.9617, allocations: 150.6 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.9617, allocations: 152.9 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.9623, allocations: 0.5499 MB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.9625, allocations: 171 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.9625, allocations: 80.14 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.9626, allocations: 80.5 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.9626, allocations: 107.8 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.9626, allocations: 4 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002869/0.9629, allocations: 58.55 kB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.963, allocations: 51.91 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.9637, allocations: 432.1 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.9637, allocations: 26.61 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.9638, allocations: 131.1 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.9639, allocations: 0 / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.964, allocations: 92.89 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.9642, allocations: 344.7 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.9644, allocations: 94.56 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.9646, allocations: 169.5 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.965, allocations: 310 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.965, allocations: 0.5 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000608/0.9656, allocations: 323.6 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9656, allocations: 5.312 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.9656, allocations: 2.438 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001125/0.9658, allocations: 10.5 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-06/0.9658, allocations: 1.844 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.9658, allocations: 2.156 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.966, allocations: 49.53 kB / 1.099 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.966, allocations: 4.141 kB / 1.099 GB, free: 13.73 MB / 0.8731 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.0002692/0.9663, allocations: 247.5 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.9664, allocations: 124.8 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.9665, allocations: 116 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/0.9666, allocations: 177.7 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.266e-05/0.9666, allocations: 110.3 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.9669, allocations: 211.6 kB / 1.1 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.967, allocations: 182.8 kB / 1.1 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.9672, allocations: 103.2 kB / 1.101 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.9673, allocations: 177 kB / 1.101 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.697e-05/0.9674, allocations: 257.2 kB / 1.101 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002717/0.9677, allocations: 414.3 kB / 1.101 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.364e-05/0.9678, allocations: 102.8 kB / 1.101 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003541/0.9681, allocations: 280.4 kB / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of Backend: time 4.5e-07/0.9681, allocations: 0 / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.9692, allocations: 381.8 kB / 1.102 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001091/0.9703, allocations: 1.172 MB / 1.103 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.008284/0.9786, allocations: 3.079 MB / 1.106 GB, free: 9.828 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches