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.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_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.001508/0.001508, allocations: 108.4 kB / 16.41 MB, free: 6.496 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.001626/0.001626, allocations: 185.6 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9858/0.9871, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003189/0.9904, allocations: 1.397 MB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.9935, allocations: 1.934 MB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.9936, allocations: 0 / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.9948, allocations: 397.2 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-05/0.9949, allocations: 15.91 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.007e-06/0.9949, allocations: 3.938 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.9951, allocations: 123.2 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.191e-05/0.9952, allocations: 21.5 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.9953, allocations: 47.78 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.9954, allocations: 63.7 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.9954, allocations: 4 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.9959, allocations: 183.9 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.9959, allocations: 31.84 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.996, allocations: 71.61 kB / 1.213 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.9965, allocations: 288.5 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.9966, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9966, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9966, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 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.0007704/0.9974, allocations: 494.6 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9974, allocations: 12.03 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.9976, allocations: 96.02 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.9978, allocations: 291.3 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.9979, allocations: 154.9 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.9979, allocations: 150.9 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.874e-05/0.998, allocations: 113.1 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.9981, allocations: 75.28 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.9981, allocations: 154.5 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-05/0.9982, allocations: 154.5 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.9983, allocations: 158.5 kB / 1.215 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.9986, allocations: 0.5054 MB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.9987, allocations: 169.1 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.9988, allocations: 80.14 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.9988, allocations: 83.2 kB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.9989, allocations: 117.8 kB / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.9989, allocations: 0 / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.00017/0.9991, allocations: 41.52 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.9991, allocations: 126.7 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.9995, allocations: 326.3 kB / 1.216 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.9995, allocations: 25.7 kB / 1.216 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.9996, allocations: 112.5 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.9996, allocations: 0 / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.9996, allocations: 73.61 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9998, allocations: 326.8 kB / 1.217 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.9999, allocations: 63.95 kB / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/1, allocations: 117.7 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/1, allocations: 213.9 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1, allocations: 0 / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004188/1.001, allocations: 245 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.001, allocations: 10.19 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.001, allocations: 0 / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.001, allocations: 4 kB / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/1.001, allocations: 0 / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.001, allocations: 4 kB / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/1.001, allocations: 31.53 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.001, allocations: 4.219 kB / 1.217 GB, free: 4.332 MB / 0.9356 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.000224/1.001, allocations: 233 kB / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/1.001, allocations: 116.7 kB / 1.218 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/1.001, allocations: 113.8 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.577e-05/1.001, allocations: 184.2 kB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.053e-05/1.001, allocations: 184.3 kB / 1.218 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-05/1.002, allocations: 180.2 kB / 1.218 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/1.002, allocations: 449.2 kB / 1.219 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/1.002, allocations: 105 kB / 1.219 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/1.002, allocations: 112.9 kB / 1.219 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.882e-05/1.002, allocations: 180.2 kB / 1.219 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/1.002, allocations: 188.1 kB / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.869e-05/1.002, allocations: 176.3 kB / 1.219 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.709e-05/1.002, allocations: 188.2 kB / 1.219 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/1.002, allocations: 311.6 kB / 1.22 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.003, allocations: 209.7 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.003, allocations: 184.3 kB / 1.22 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.003, allocations: 105 kB / 1.22 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/1.003, allocations: 180.2 kB / 1.22 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/1.003, allocations: 101 kB / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001909/1.003, allocations: 217.9 kB / 1.221 GB, free: 480 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.003, allocations: 0 / 1.221 GB, free: 480 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003652/1.004, allocations: 64 kB / 1.221 GB, free: 416 kB / 0.9356 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.0003351/1.004, allocations: 278.8 kB / 1.221 GB, free: 128 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001775/1.004, allocations: 111.8 kB / 1.221 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.004, allocations: 0 / 1.221 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/1.004, allocations: 0 / 1.221 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/1.005, allocations: 456.2 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/1.005, allocations: 431.2 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/1.005, allocations: 0.7314 MB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/1.006, allocations: 15.38 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of SimCode: time 1.9e-07/1.006, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.004343/1.01, allocations: 2.333 MB / 1.225 GB, free: 12.01 MB / 0.9512 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 -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