Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.001023/0.001023, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01009/0.01009, allocations: 170 kB / 16.27 MB, free: 6.66 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.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.87/2.87, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 8.188 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.346, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001636/0.3477, allocations: 1.13 MB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.3509, allocations: 2.615 MB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.3509, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.3525, allocations: 0.5483 MB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.3526, allocations: 15.92 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.96e-06/0.3526, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3528, allocations: 178.9 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.3529, allocations: 32.41 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.353, allocations: 55.73 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3531, allocations: 79.58 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3532, allocations: 4 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.3542, allocations: 487.3 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.3543, allocations: 43.75 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3544, allocations: 117.1 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.355, allocations: 394.2 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.355, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.234e-06/0.355, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.355, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 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.0007523/0.3558, allocations: 0.5373 MB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3558, allocations: 12.03 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.356, allocations: 95.94 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.3563, allocations: 302.3 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.3564, allocations: 158.9 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.3565, allocations: 150.9 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3566, allocations: 109.5 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.3567, allocations: 79.47 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.3567, allocations: 154.5 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.674e-05/0.3568, allocations: 158.6 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3569, allocations: 154.6 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.3573, allocations: 0.5249 MB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3575, allocations: 177.1 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.3575, allocations: 80.14 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3575, allocations: 79.28 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.3576, allocations: 105.8 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.3576, allocations: 0 / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001903/0.3578, allocations: 57.34 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3579, allocations: 126.7 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.3583, allocations: 441.1 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3583, allocations: 33.7 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.3584, allocations: 132.5 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.3584, allocations: 3.938 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.3585, allocations: 69.67 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3587, allocations: 342.8 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.3588, allocations: 100.4 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.359, allocations: 165.3 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.3593, allocations: 301.6 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3593, allocations: 0 / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004847/0.3598, allocations: 329 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3598, allocations: 4 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3598, allocations: 3.938 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3598, allocations: 4 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/0.3599, allocations: 8.219 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3599, allocations: 3.938 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.36, allocations: 43.28 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.36, allocations: 8 kB / 1.069 GB, free: 10.49 MB / 0.8262 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.0001996/0.3602, allocations: 245 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.3603, allocations: 124.7 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.3604, allocations: 122.8 kB / 1.07 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.973e-05/0.3604, allocations: 176.3 kB / 1.07 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.687e-05/0.3605, allocations: 188.2 kB / 1.07 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.534e-05/0.3606, allocations: 176.3 kB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.3608, allocations: 477.1 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.184e-05/0.3609, allocations: 112.9 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.3609, allocations: 105 kB / 1.071 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.767e-05/0.361, allocations: 184.2 kB / 1.071 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.3611, allocations: 184.2 kB / 1.071 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-05/0.3612, allocations: 184.3 kB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.233e-05/0.3612, allocations: 180.2 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3614, allocations: 327.4 kB / 1.072 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3615, allocations: 201.8 kB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.3617, allocations: 180.2 kB / 1.072 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3619, allocations: 108.9 kB / 1.072 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.3619, allocations: 180.2 kB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.362, allocations: 112.9 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003748/0.3624, allocations: 279.1 kB / 1.073 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3624, allocations: 0 / 1.073 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005118/0.3629, allocations: 76 kB / 1.073 GB, free: 6.426 MB / 0.8262 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.0004367/0.3634, allocations: 301.4 kB / 1.073 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.3637, allocations: 159.9 kB / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3637, allocations: 448 / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.3637, allocations: 4 kB / 1.073 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.3643, allocations: 0.5316 MB / 1.074 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.3652, allocations: 0.5516 MB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3656, allocations: 0.7746 MB / 1.075 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.3656, allocations: 4 kB / 1.075 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.3657, allocations: 11.44 kB / 1.075 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3657, allocations: 0 / 1.075 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of Templates: time 0.008359/0.374, allocations: 2.813 MB / 1.078 GB, free: 1.227 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches