Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_low,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 113.8 kB / 16.42 MB, free: 6.016 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.001923/0.001923, allocations: 193.4 kB / 17.35 MB, free: 5.629 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9919/0.9934, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003764/0.9972, allocations: 1.407 MB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002685/1, allocations: 1.931 MB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/1, allocations: 0 / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/1.002, allocations: 389.1 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/1.002, allocations: 15.91 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.979e-06/1.002, allocations: 0 / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000257/1.002, allocations: 123.2 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/1.002, allocations: 33.48 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/1.002, allocations: 43.8 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/1.002, allocations: 59.66 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/1.002, allocations: 4 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/1.003, allocations: 179.9 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/1.003, allocations: 31.83 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/1.003, allocations: 79.55 kB / 1.213 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005647/1.004, allocations: 284.6 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.004, allocations: 0 / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/1.004, allocations: 4 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.004, allocations: 0 / 1.213 GB, free: 9.125 MB / 0.9356 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.0008222/1.005, allocations: 498.5 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.005, allocations: 8.031 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/1.005, allocations: 92.03 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/1.005, allocations: 295.3 kB / 1.214 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/1.005, allocations: 154.9 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/1.005, allocations: 154.9 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.328e-05/1.006, allocations: 109 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/1.006, allocations: 75.28 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/1.006, allocations: 150.6 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/1.006, allocations: 154.6 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/1.006, allocations: 154.6 kB / 1.215 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/1.006, allocations: 0.5093 MB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/1.006, allocations: 173.1 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/1.006, allocations: 84.12 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/1.006, allocations: 79.28 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/1.006, allocations: 109.8 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/1.006, allocations: 0 / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001974/1.007, allocations: 49.5 kB / 1.216 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/1.007, allocations: 51.41 kB / 1.216 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/1.007, allocations: 326.2 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.007, allocations: 25.7 kB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/1.007, allocations: 120.5 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/1.007, allocations: 0 / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/1.007, allocations: 61.69 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.007, allocations: 330.8 kB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/1.007, allocations: 59.95 kB / 1.217 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/1.008, allocations: 129.7 kB / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/1.008, allocations: 205.8 kB / 1.217 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.008, allocations: 0 / 1.217 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004583/1.008, allocations: 237.2 kB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.008, allocations: 7.938 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.008, allocations: 0 / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.008, allocations: 7.984 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.337e-06/1.008, allocations: 8.219 kB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/1.008, allocations: 3.938 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/1.009, allocations: 35.53 kB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.009, allocations: 4 kB / 1.217 GB, free: 4.469 MB / 0.9356 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.0002106/1.009, allocations: 221.1 kB / 1.217 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/1.009, allocations: 120.7 kB / 1.217 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/1.009, allocations: 113.8 kB / 1.218 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/1.009, allocations: 184.2 kB / 1.218 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-05/1.009, allocations: 105 kB / 1.218 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/1.009, allocations: 197.8 kB / 1.218 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-05/1.009, allocations: 184.2 kB / 1.218 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.009, allocations: 104.9 kB / 1.218 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/1.009, allocations: 184.3 kB / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.909e-05/1.01, allocations: 259.5 kB / 1.219 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000193/1.01, allocations: 398.8 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.702e-05/1.01, allocations: 104.9 kB / 1.219 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001967/1.01, allocations: 213.9 kB / 1.219 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of Backend: time 4.31e-07/1.01, allocations: 4 kB / 1.219 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007329/1.011, allocations: 278.8 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00084/1.012, allocations: 1.079 MB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of Templates: time 0.005742/1.017, allocations: 2.345 MB / 1.223 GB, free: 14.26 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches