Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001333/0.001333, allocations: 112 kB / 16.42 MB, free: 6.504 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.001246/0.001246, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.137, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002736/1.14, allocations: 1.4 MB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002288/1.142, allocations: 1.931 MB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/1.143, allocations: 0 / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/1.144, allocations: 383.2 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/1.144, allocations: 15.91 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/1.144, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/1.144, allocations: 135.1 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/1.144, allocations: 25.5 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.258e-05/1.144, allocations: 39.8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/1.144, allocations: 63.7 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/1.144, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/1.145, allocations: 183.9 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/1.145, allocations: 31.83 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/1.145, allocations: 75.62 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005461/1.146, allocations: 283.3 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.146, allocations: 4 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.713e-06/1.146, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.715e-06/1.146, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 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.0008971/1.147, allocations: 0.4944 MB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.147, allocations: 12.58 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/1.147, allocations: 100.1 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/1.147, allocations: 295.3 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/1.147, allocations: 154.9 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/1.147, allocations: 158.9 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/1.148, allocations: 105.1 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/1.148, allocations: 79.28 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/1.148, allocations: 150.6 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/1.148, allocations: 154.5 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/1.148, allocations: 150.6 kB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/1.148, allocations: 0.5056 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/1.148, allocations: 173.1 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/1.149, allocations: 84.14 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/1.149, allocations: 75.28 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.864e-05/1.149, allocations: 113.8 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/1.149, allocations: 4 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0002481/1.149, allocations: 53.5 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.149, allocations: 55.34 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/1.149, allocations: 322.4 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/1.149, allocations: 25.7 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/1.15, allocations: 112.5 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-06/1.15, allocations: 0 / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/1.15, allocations: 65.67 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.15, allocations: 330.8 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/1.15, allocations: 63.95 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/1.15, allocations: 114 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/1.15, allocations: 209.8 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.15, allocations: 4 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005138/1.151, allocations: 237.3 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.151, allocations: 11.94 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.151, allocations: 0 / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.151, allocations: 4 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/1.151, allocations: 0 / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.151, allocations: 7.938 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/1.151, allocations: 31.67 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/1.151, allocations: 8 kB / 1.176 GB, free: 10.65 MB / 0.9044 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.0002643/1.151, allocations: 227.1 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.152, allocations: 124.8 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/1.152, allocations: 117.6 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.361e-05/1.152, allocations: 180.3 kB / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.651e-05/1.152, allocations: 104.9 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/1.152, allocations: 197.9 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.152, allocations: 188.3 kB / 1.177 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/1.152, allocations: 104.9 kB / 1.177 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/1.152, allocations: 180.3 kB / 1.177 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001108/1.152, allocations: 255.5 kB / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002223/1.153, allocations: 406.9 kB / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.829e-05/1.153, allocations: 104.9 kB / 1.178 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002139/1.153, allocations: 217.9 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of Backend: time 2.81e-07/1.153, allocations: 0 / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007373/1.154, allocations: 288.9 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008526/1.155, allocations: 1.059 MB / 1.18 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of Templates: time 0.006333/1.161, allocations: 2.317 MB / 1.182 GB, free: 4.465 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches