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.001726/0.001726, allocations: 112.6 kB / 16.41 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.001984/0.001984, allocations: 190.9 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.372/1.372, 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.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002419/1.028, allocations: 1.394 MB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002168/1.03, allocations: 1.94 MB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/1.03, allocations: 0 / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/1.031, allocations: 386.9 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/1.031, allocations: 20.06 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.608e-06/1.031, allocations: 0 / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/1.032, allocations: 121.2 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/1.032, allocations: 23.53 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/1.032, allocations: 47.73 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/1.032, allocations: 65.53 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/1.032, allocations: 2.25 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/1.032, allocations: 182.9 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/1.033, allocations: 32.08 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/1.033, allocations: 71.61 kB / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004511/1.033, allocations: 293 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/1.033, allocations: 0 / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.21e-07/1.033, allocations: 0.7188 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.033, 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.0006194/1.034, allocations: 499.2 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/1.034, allocations: 10.06 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/1.034, allocations: 95.2 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/1.034, allocations: 288.1 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/1.034, allocations: 151.9 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/1.034, allocations: 161.5 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.949e-05/1.034, allocations: 114 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.034, allocations: 76.08 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/1.034, allocations: 151.4 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.034, allocations: 150.6 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/1.034, allocations: 152.1 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/1.035, allocations: 0.5116 MB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/1.035, allocations: 169.8 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/1.035, allocations: 81.39 kB / 1.096 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/1.035, allocations: 76 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/1.035, allocations: 115.3 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.035, allocations: 4 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001803/1.035, allocations: 45.14 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.035, allocations: 128.2 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/1.035, allocations: 322.9 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.035, allocations: 30.42 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/1.036, allocations: 112.9 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/1.036, allocations: 0.5625 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/1.036, allocations: 61.92 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.036, allocations: 334.9 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.036, allocations: 63.56 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/1.036, allocations: 117.7 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/1.036, allocations: 214.9 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.036, allocations: 0.7969 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004789/1.037, allocations: 234.3 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.037, allocations: 6.719 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.037, allocations: 1.844 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.037, allocations: 2.188 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/1.037, allocations: 2.891 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/1.037, allocations: 2.406 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/1.037, allocations: 34.81 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.037, allocations: 4.797 kB / 1.097 GB, free: 14.78 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.0002173/1.037, allocations: 226.3 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/1.037, allocations: 123.7 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/1.037, allocations: 118.6 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.279e-05/1.038, allocations: 177.5 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-05/1.038, allocations: 182 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.617e-05/1.038, allocations: 182.5 kB / 1.098 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/1.038, allocations: 448.7 kB / 1.099 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.182e-05/1.038, allocations: 110.4 kB / 1.099 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/1.038, allocations: 106.3 kB / 1.099 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.938e-05/1.038, allocations: 186.8 kB / 1.099 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/1.038, allocations: 184.8 kB / 1.099 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.468e-05/1.038, allocations: 178.5 kB / 1.099 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.198e-05/1.038, allocations: 181.7 kB / 1.1 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/1.039, allocations: 318.5 kB / 1.1 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/1.039, allocations: 202 kB / 1.1 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/1.039, allocations: 178.6 kB / 1.1 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.039, allocations: 106.2 kB / 1.1 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/1.039, allocations: 178.2 kB / 1.101 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/1.039, allocations: 110.2 kB / 1.101 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002606/1.039, allocations: 216 kB / 1.101 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/1.039, allocations: 0 / 1.101 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004064/1.04, allocations: 67.86 kB / 1.101 GB, free: 11.13 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.0003897/1.04, allocations: 277.9 kB / 1.101 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002224/1.04, allocations: 109.9 kB / 1.101 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.04, allocations: 0 / 1.101 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/1.04, allocations: 0.9062 kB / 1.101 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/1.041, allocations: 465 kB / 1.102 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/1.041, allocations: 420.2 kB / 1.102 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/1.042, allocations: 0.7362 MB / 1.103 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/1.042, allocations: 9.625 kB / 1.103 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.042, allocations: 0 / 1.103 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of Templates: time 0.00643/1.048, allocations: 2.336 MB / 1.105 GB, free: 9.184 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