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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7629 GB, free: 15.05 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 63.89 kB / 1.107 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9419/0.9443, allocations: 168.7 MB / 1.271 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002464/0.9468, allocations: 1.439 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.9495, allocations: 2.712 MB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.9495, allocations: 1.094 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.9508, allocations: 0.5918 MB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.9509, allocations: 18.94 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.9509, allocations: 0 / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.9511, allocations: 158.7 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.9512, allocations: 15.8 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.9512, allocations: 57.34 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.9514, allocations: 80.98 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.9514, allocations: 2.656 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.9524, allocations: 470.4 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.9525, allocations: 38.62 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.9526, allocations: 96 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.9532, allocations: 438.9 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9532, allocations: 0 / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9532, allocations: 1.031 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.9532, allocations: 0 / 1.277 GB, free: 3.953 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.0007043/0.9539, allocations: 0.5548 MB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.954, allocations: 9 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.954, allocations: 111 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.9542, allocations: 110.8 kB / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.9544, allocations: 307.8 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.9544, allocations: 155.8 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.9544, allocations: 153.6 kB / 1.279 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.113e-05/0.9545, allocations: 102.5 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9545, allocations: 79.22 kB / 1.279 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.9545, allocations: 158.5 kB / 1.279 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.9545, allocations: 151.4 kB / 1.279 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.9546, allocations: 155.4 kB / 1.279 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.9548, allocations: 0.531 MB / 1.28 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/0.9549, allocations: 174 kB / 1.28 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.9549, allocations: 81.17 kB / 1.28 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.9549, allocations: 75.98 kB / 1.28 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.9549, allocations: 106.8 kB / 1.28 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.9549, allocations: 0 / 1.28 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001947/0.9551, allocations: 64.17 kB / 1.28 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.9552, allocations: 133 kB / 1.281 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.9556, allocations: 429.9 kB / 1.281 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-06/0.9556, allocations: 26.67 kB / 1.281 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.9556, allocations: 134.9 kB / 1.281 GB, free: 500 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.9557, allocations: 4.953 kB / 1.281 GB, free: 496 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.9557, allocations: 89.53 kB / 1.281 GB, free: 456 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.9558, allocations: 339.8 kB / 1.282 GB, free: 124 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.9559, allocations: 98.72 kB / 1.282 GB, free: 88 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.9561, allocations: 166.8 kB / 1.282 GB, free: 15.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.9565, allocations: 314 kB / 1.282 GB, free: 15.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9565, allocations: 1.344 kB / 1.282 GB, free: 15.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005856/0.9571, allocations: 337.5 kB / 1.282 GB, free: 15.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9571, allocations: 10.16 kB / 1.282 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.9571, allocations: 1.938 kB / 1.282 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9571, allocations: 1.875 kB / 1.282 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.9571, allocations: 2.312 kB / 1.282 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.9571, allocations: 2.188 kB / 1.282 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.9573, allocations: 41.89 kB / 1.282 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.9573, allocations: 3.312 kB / 1.282 GB, free: 15.64 MB / 1.014 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.0002715/0.9576, allocations: 249.5 kB / 1.283 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.9577, allocations: 135.4 kB / 1.283 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.9578, allocations: 114.3 kB / 1.283 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/0.958, allocations: 185.3 kB / 1.283 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.257e-05/0.958, allocations: 177.8 kB / 1.283 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.078e-05/0.9581, allocations: 177.9 kB / 1.283 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.9585, allocations: 480.5 kB / 1.284 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.374e-05/0.9586, allocations: 103.4 kB / 1.284 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.9586, allocations: 106.1 kB / 1.284 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-05/0.9587, allocations: 183.4 kB / 1.284 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.9588, allocations: 177.1 kB / 1.284 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.811e-05/0.9589, allocations: 190.8 kB / 1.285 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.258e-05/0.959, allocations: 177.1 kB / 1.285 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.9591, allocations: 327.1 kB / 1.285 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.9593, allocations: 203.9 kB / 1.285 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.9594, allocations: 194 kB / 1.285 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.9596, allocations: 107 kB / 1.286 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.9597, allocations: 186.2 kB / 1.286 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.9597, allocations: 103.7 kB / 1.286 GB, free: 12.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003285/0.9601, allocations: 275.6 kB / 1.286 GB, free: 11.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9601, allocations: 0 / 1.286 GB, free: 11.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004559/0.9605, allocations: 82.67 kB / 1.286 GB, free: 11.94 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.0008835/0.9614, allocations: 0.9725 MB / 1.287 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.9616, allocations: 123.6 kB / 1.287 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9616, allocations: 0 / 1.287 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.9616, allocations: 0.75 kB / 1.287 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.9622, allocations: 469 kB / 1.288 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.9658, allocations: 2.948 MB / 1.291 GB, free: 8.613 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.9664, allocations: 0.7751 MB / 1.291 GB, free: 7.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.9664, allocations: 4.594 kB / 1.291 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.9665, allocations: 51.89 kB / 1.291 GB, free: 7.863 MB / 1.014 GB Notification: Performance of SimCode: time 4.8e-07/0.9665, allocations: 4 kB / 1.291 GB, free: 7.859 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.9994, allocations: 6.435 MB / 1.298 GB, free: 7.062 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/9.336, allocations: 7.719 kB / 1.298 GB, free: 7.059 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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.409077519987477]