Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001448/0.001448, allocations: 111.5 kB / 16.41 MB, free: 6.488 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.001148/0.001149, allocations: 183 kB / 17.34 MB, free: 5.766 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 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.367/2.367, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 59.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8405, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002424/0.843, allocations: 1.412 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.8458, allocations: 2.672 MB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.8459, allocations: 0.6875 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.8476, allocations: 0.585 MB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.8476, allocations: 20.09 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.8476, allocations: 0.8125 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.8479, allocations: 154.4 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.848, allocations: 34.64 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.848, allocations: 65.48 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.8482, allocations: 84.97 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.8482, allocations: 2.844 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.8493, allocations: 461.6 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.8494, allocations: 37.53 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.8495, allocations: 97.09 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006821/0.8502, allocations: 452.3 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8502, allocations: 0 / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8502, allocations: 0.7812 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.8502, allocations: 0 / 1.094 GB, free: 1.797 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.0007104/0.851, allocations: 0.5437 MB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.851, allocations: 9.781 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.8512, allocations: 99.84 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.8514, allocations: 308.4 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.8514, allocations: 152.4 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.8514, allocations: 157.3 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.049e-05/0.8515, allocations: 107.1 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8515, allocations: 79.41 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.8515, allocations: 159.2 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.8516, allocations: 151.4 kB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.8516, allocations: 155.2 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.852, allocations: 0.5396 MB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.8521, allocations: 177.6 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.8521, allocations: 81.45 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.8522, allocations: 75.94 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.8522, allocations: 106.7 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8522, allocations: 0 / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001797/0.8524, allocations: 56.25 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.8524, allocations: 130.7 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.853, allocations: 440.3 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.853, allocations: 26.33 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.8531, allocations: 130.5 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-06/0.8531, allocations: 1.25 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.8532, allocations: 89.33 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8534, allocations: 340 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.8535, allocations: 98.91 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.8537, allocations: 168.8 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.8541, allocations: 306.4 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8541, allocations: 0.7188 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005553/0.8547, allocations: 326.1 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8547, allocations: 10.81 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8547, allocations: 6.078 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.8547, allocations: 2.062 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-06/0.8547, allocations: 2.594 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8547, allocations: 6.734 kB / 1.099 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.8549, allocations: 45.17 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.8549, allocations: 3.625 kB / 1.099 GB, free: 13.62 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.0002426/0.8552, allocations: 242.2 kB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.8552, allocations: 126.1 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.8553, allocations: 123.5 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/0.8554, allocations: 178.2 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-05/0.8554, allocations: 181 kB / 1.1 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-05/0.8555, allocations: 178.2 kB / 1.1 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.8558, allocations: 477.6 kB / 1.101 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.8558, allocations: 106 kB / 1.101 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.8559, allocations: 102.8 kB / 1.101 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.567e-05/0.8559, allocations: 182.4 kB / 1.101 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.856, allocations: 186 kB / 1.101 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.945e-05/0.8561, allocations: 189.7 kB / 1.102 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.468e-05/0.8561, allocations: 182 kB / 1.102 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.8563, allocations: 326.9 kB / 1.102 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.8564, allocations: 203.7 kB / 1.102 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.8565, allocations: 190 kB / 1.102 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.8566, allocations: 107 kB / 1.103 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.8567, allocations: 178.2 kB / 1.103 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.8567, allocations: 110.4 kB / 1.103 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002957/0.857, allocations: 280.4 kB / 1.103 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.857, allocations: 0 / 1.103 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004401/0.8575, allocations: 83.61 kB / 1.103 GB, free: 9.918 MB / 0.8731 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.0003904/0.8579, allocations: 310.4 kB / 1.103 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.8581, allocations: 164.7 kB / 1.104 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8581, allocations: 0 / 1.104 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/0.8581, allocations: 4 kB / 1.104 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.8585, allocations: 465.4 kB / 1.104 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.8592, allocations: 0.5193 MB / 1.105 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.8596, allocations: 0.7709 MB / 1.105 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.8596, allocations: 9.688 kB / 1.105 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8596, allocations: 0 / 1.105 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of Templates: time 0.006037/0.8656, allocations: 3.142 MB / 1.108 GB, free: 7.793 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches