Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001225/0.001225, allocations: 113.1 kB / 16.42 MB, free: 6.008 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.001281/0.001281, allocations: 183.9 kB / 17.35 MB, free: 5.625 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.13 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.938/0.9395, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002532/0.942, allocations: 1.393 MB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.9442, allocations: 1.934 MB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.9443, allocations: 0.75 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.9453, allocations: 393.4 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.9454, allocations: 16.55 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.549e-06/0.9454, allocations: 0 / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.9456, allocations: 120.8 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.252e-05/0.9457, allocations: 23.77 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.9458, allocations: 55.34 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.9459, allocations: 61.73 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.946, allocations: 3.062 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.9465, allocations: 186.6 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.9466, allocations: 27.17 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.9467, allocations: 72.17 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.9472, allocations: 288.7 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9472, allocations: 0.875 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9472, allocations: 0 / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9472, allocations: 0 / 1.093 GB, free: 2.695 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.0006895/0.9479, allocations: 496.3 kB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.948, allocations: 16.56 kB / 1.094 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.9481, allocations: 94.95 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.9483, allocations: 287.8 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.9484, allocations: 151.7 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.9484, allocations: 162.3 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.975e-05/0.9485, allocations: 106.3 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.9485, allocations: 79.98 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.9485, allocations: 150.6 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.9485, allocations: 151.6 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.9486, allocations: 151.1 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.9489, allocations: 0.5078 MB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.9489, allocations: 178.7 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.949, allocations: 80.14 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.949, allocations: 76.67 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.949, allocations: 119.3 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.949, allocations: 0 / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001942/0.9492, allocations: 53.7 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.9493, allocations: 51.41 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.9497, allocations: 319.9 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.9498, allocations: 25.7 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.9499, allocations: 113.3 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.9499, allocations: 0.625 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.95, allocations: 62.2 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9501, allocations: 330.2 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.9503, allocations: 67.72 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.9504, allocations: 118.6 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.9508, allocations: 213.5 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9508, allocations: 5.125 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005072/0.9513, allocations: 230.7 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.9513, allocations: 10.7 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9513, allocations: 1.562 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.9514, allocations: 2.781 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-06/0.9514, allocations: 2.391 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.9514, allocations: 6.188 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.9515, allocations: 26.48 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.9516, allocations: 4.281 kB / 1.097 GB, free: 14.85 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.0002444/0.9518, allocations: 229.4 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.9519, allocations: 128.6 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.952, allocations: 118 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.439e-05/0.952, allocations: 177.8 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/0.9521, allocations: 107 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.9522, allocations: 193.7 kB / 1.098 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/0.9523, allocations: 186.5 kB / 1.098 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.9524, allocations: 106.3 kB / 1.098 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.9525, allocations: 185.9 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001029/0.9526, allocations: 258.4 kB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002166/0.9529, allocations: 397.7 kB / 1.099 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.63e-05/0.9529, allocations: 106.3 kB / 1.099 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002737/0.9532, allocations: 215.1 kB / 1.1 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of Backend: time 6.31e-07/0.9532, allocations: 0 / 1.1 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008004/0.954, allocations: 276.5 kB / 1.1 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008686/0.9549, allocations: 1.061 MB / 1.101 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.006689/0.9616, allocations: 2.314 MB / 1.103 GB, free: 11.14 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches