Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7678 GB, free: 9.445 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 61.78 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9371, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003031/0.9401, allocations: 1.438 MB / 1.28 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.944, allocations: 2.701 MB / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.9441, allocations: 0 / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.9464, allocations: 0.5838 MB / 1.284 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.9465, allocations: 17.11 kB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.446e-06/0.9465, allocations: 4 kB / 1.284 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.9469, allocations: 158.2 kB / 1.284 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.947, allocations: 30.73 kB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.9471, allocations: 64.56 kB / 1.284 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.9473, allocations: 73.75 kB / 1.284 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.9474, allocations: 2.062 kB / 1.284 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.949, allocations: 470.2 kB / 1.284 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.949, allocations: 37.06 kB / 1.284 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.9492, allocations: 105.5 kB / 1.284 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.9503, allocations: 433.8 kB / 1.285 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9503, allocations: 1.156 kB / 1.285 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9503, allocations: 4 kB / 1.285 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.9503, allocations: 0 / 1.285 GB, free: 8.004 MB / 0.9981 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.0009638/0.9513, allocations: 0.5578 MB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9513, allocations: 10.77 kB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.982e-05/0.9514, allocations: 75.47 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.833e-05/0.9514, allocations: 111.4 kB / 1.286 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.9516, allocations: 108.5 kB / 1.286 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.9519, allocations: 300 kB / 1.286 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/0.952, allocations: 156.4 kB / 1.286 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.9521, allocations: 153.3 kB / 1.286 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.9522, allocations: 107.4 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.9522, allocations: 75.28 kB / 1.286 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.9523, allocations: 154.6 kB / 1.287 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.9523, allocations: 151.7 kB / 1.287 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.9524, allocations: 158.5 kB / 1.287 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.9529, allocations: 0.5322 MB / 1.287 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.953, allocations: 170.2 kB / 1.288 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.9531, allocations: 89.17 kB / 1.288 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.9531, allocations: 75.89 kB / 1.288 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/0.9532, allocations: 114.8 kB / 1.288 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.9532, allocations: 0 / 1.288 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.00019/0.9534, allocations: 59.73 kB / 1.288 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.9534, allocations: 131.6 kB / 1.288 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.9541, allocations: 432.6 kB / 1.288 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.9541, allocations: 25.7 kB / 1.288 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.9542, allocations: 135.4 kB / 1.289 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.9542, allocations: 0 / 1.289 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.9544, allocations: 89.7 kB / 1.289 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002463/0.9546, allocations: 339.3 kB / 1.289 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.9548, allocations: 94.94 kB / 1.289 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.955, allocations: 174.3 kB / 1.289 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.9554, allocations: 305 kB / 1.29 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9554, allocations: 1.5 kB / 1.29 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005541/0.9559, allocations: 335 kB / 1.29 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9559, allocations: 9.281 kB / 1.29 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.9559, allocations: 2 kB / 1.29 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.956, allocations: 3.031 kB / 1.29 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.347e-06/0.956, allocations: 2.062 kB / 1.29 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.956, allocations: 6.219 kB / 1.29 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.9561, allocations: 45.67 kB / 1.29 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.9562, allocations: 4.141 kB / 1.29 GB, free: 3.617 MB / 0.9981 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.000276/0.9564, allocations: 252.9 kB / 1.29 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.9565, allocations: 128.4 kB / 1.29 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.9566, allocations: 112.9 kB / 1.29 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.573e-05/0.9567, allocations: 180.8 kB / 1.291 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.822e-05/0.9568, allocations: 182.1 kB / 1.291 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.712e-05/0.9568, allocations: 182.4 kB / 1.291 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.9572, allocations: 478.2 kB / 1.291 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.675e-05/0.9573, allocations: 101 kB / 1.291 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.9573, allocations: 107.3 kB / 1.292 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-05/0.9574, allocations: 186.5 kB / 1.292 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-05/0.9575, allocations: 180.8 kB / 1.292 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.992e-05/0.9576, allocations: 186.4 kB / 1.292 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.87e-05/0.9577, allocations: 178.3 kB / 1.292 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.9579, allocations: 326.9 kB / 1.293 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.958, allocations: 211.9 kB / 1.293 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.9581, allocations: 182.8 kB / 1.293 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.9583, allocations: 115.7 kB / 1.293 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.9584, allocations: 180.2 kB / 1.293 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/0.9584, allocations: 105.5 kB / 1.293 GB, free: 56 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003229/0.9588, allocations: 274.1 kB / 1.294 GB, free: 15.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9588, allocations: 0 / 1.294 GB, free: 15.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004615/0.9592, allocations: 82.94 kB / 1.294 GB, free: 15.92 MB / 1.014 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.0008001/0.96, allocations: 0.9645 MB / 1.295 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.9603, allocations: 122.2 kB / 1.295 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9603, allocations: 1.125 kB / 1.295 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.9603, allocations: 0 / 1.295 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.9607, allocations: 479 kB / 1.295 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.9642, allocations: 2.933 MB / 1.298 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.9647, allocations: 0.7765 MB / 1.299 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.9647, allocations: 3.609 kB / 1.299 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.9648, allocations: 52.22 kB / 1.299 GB, free: 11.85 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/0.9648, allocations: 4 kB / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.9899, allocations: 6.52 MB / 1.305 GB, free: 11.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/9.628, allocations: 13.89 kB / 1.305 GB, free: 11.04 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.877895116980653]