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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00113/0.00113, allocations: 117.3 kB / 16.37 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.001266/0.001266, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.435/1.435, 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.0-master/package.mo): time 2.507/2.507, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.06 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3484, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003016/0.3514, allocations: 1.419 MB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.354, allocations: 1.923 MB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.354, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3552, allocations: 393 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.3552, allocations: 15.92 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.87e-06/0.3552, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.3555, allocations: 127.1 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.3556, allocations: 17.5 kB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.3557, allocations: 43.78 kB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3558, allocations: 63.72 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3558, allocations: 7.984 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.3563, allocations: 179.9 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.3564, allocations: 27.91 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.3565, allocations: 75.55 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.357, allocations: 290.9 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.357, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.903e-06/0.357, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.357, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 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.0007587/0.3578, allocations: 494.6 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3578, allocations: 12.03 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.358, allocations: 95.94 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3582, allocations: 287.4 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.3582, allocations: 158.9 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.3583, allocations: 158.9 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.966e-05/0.3584, allocations: 105.1 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.3584, allocations: 75.28 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.3585, allocations: 150.6 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.3585, allocations: 150.6 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.3586, allocations: 154.5 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.3589, allocations: 0.5094 MB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.326e-05/0.359, allocations: 169.1 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.3591, allocations: 84.14 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3591, allocations: 75.28 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.3591, allocations: 117.7 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.3592, allocations: 3.984 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001787/0.3593, allocations: 53.41 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3594, allocations: 126.7 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.3597, allocations: 318.4 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3597, allocations: 29.64 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.3598, allocations: 116.4 kB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.3598, allocations: 0 / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.3599, allocations: 65.69 kB / 1.035 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.36, allocations: 330.8 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.3601, allocations: 63.95 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3602, allocations: 121.9 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3604, allocations: 209.9 kB / 1.035 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3604, allocations: 0 / 1.035 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003874/0.3608, allocations: 237.2 kB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3608, allocations: 4 kB / 1.035 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3608, allocations: 0 / 1.035 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3609, allocations: 4 kB / 1.035 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.3609, allocations: 7.984 kB / 1.035 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3609, allocations: 0 / 1.035 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.361, allocations: 27.81 kB / 1.035 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.361, allocations: 12 kB / 1.036 GB, free: 8.758 MB / 0.8106 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.0001853/0.3612, allocations: 227.9 kB / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3613, allocations: 136.6 kB / 1.036 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.3613, allocations: 109.9 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.389e-05/0.3614, allocations: 184.2 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.468e-05/0.3615, allocations: 180.3 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.388e-05/0.3615, allocations: 180.3 kB / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3618, allocations: 457.1 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.3618, allocations: 105 kB / 1.037 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.3619, allocations: 108.9 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.966e-05/0.3619, allocations: 184.2 kB / 1.037 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.362, allocations: 176.3 kB / 1.037 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-05/0.362, allocations: 188.2 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.767e-05/0.3621, allocations: 176.3 kB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.3622, allocations: 319.6 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3624, allocations: 205.8 kB / 1.038 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/0.3625, allocations: 176.3 kB / 1.038 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3626, allocations: 109 kB / 1.039 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.3627, allocations: 180.2 kB / 1.039 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.3627, allocations: 109.3 kB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002096/0.3629, allocations: 217.9 kB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3629, allocations: 0 / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003493/0.3633, allocations: 67.98 kB / 1.039 GB, free: 4.832 MB / 0.8106 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.0003188/0.3636, allocations: 270.4 kB / 1.039 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.3638, allocations: 107.9 kB / 1.039 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3638, allocations: 0 / 1.039 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.3638, allocations: 3.938 kB / 1.039 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3642, allocations: 459.7 kB / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.3647, allocations: 409.5 kB / 1.04 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.365, allocations: 0.7392 MB / 1.041 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.111e-05/0.365, allocations: 0 / 1.041 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.3651, allocations: 11.44 kB / 1.041 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3651, allocations: 0 / 1.041 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of Templates: time 0.005132/0.3702, allocations: 2.301 MB / 1.043 GB, free: 0.5 MB / 0.8106 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 -s gbode -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