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.001653/0.001653, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002021/0.002021, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.838/2.838, allocations: 476.7 MB / 0.7714 GB, free: 4.324 MB / 0.6231 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.002056/0.002056, allocations: 67.27 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002794/0.3142, allocations: 1.459 MB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.3177, allocations: 2.715 MB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.3177, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.3193, allocations: 0.5863 MB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.3193, allocations: 19.91 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.3193, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.3196, allocations: 162.9 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.3196, allocations: 12.59 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.3197, allocations: 63.67 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3199, allocations: 75.58 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3199, allocations: 4 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.3209, allocations: 479.3 kB / 1.29 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.321, allocations: 31.84 kB / 1.29 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3211, allocations: 103.4 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.3217, allocations: 430.1 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3217, allocations: 4 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3217, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3217, allocations: 3.938 kB / 1.29 GB, free: 5.492 MB / 0.9825 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.0008093/0.3225, allocations: 496.7 kB / 1.291 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3226, allocations: 8.031 kB / 1.291 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.64e-05/0.3226, allocations: 79.47 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/0.3227, allocations: 106 kB / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.3229, allocations: 108 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3231, allocations: 244.5 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.3232, allocations: 158.9 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.3233, allocations: 158.9 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.3233, allocations: 109.3 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.3234, allocations: 75.28 kB / 1.292 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.3235, allocations: 158.5 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.59e-05/0.3235, allocations: 150.6 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.492e-05/0.3236, allocations: 154.5 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.324, allocations: 0.5046 MB / 1.293 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.814e-05/0.3241, allocations: 169.1 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.3241, allocations: 80.14 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.3242, allocations: 75.28 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.3242, allocations: 117.8 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3242, allocations: 3.938 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001804/0.3244, allocations: 57.45 kB / 1.293 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.3245, allocations: 130.7 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.325, allocations: 433.3 kB / 1.294 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.325, allocations: 25.7 kB / 1.294 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.3251, allocations: 136.6 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.3251, allocations: 0 / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3252, allocations: 89.67 kB / 1.294 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3253, allocations: 338.8 kB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3255, allocations: 100.6 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.3256, allocations: 173.8 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.326, allocations: 297.7 kB / 1.295 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.326, allocations: 4 kB / 1.295 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005468/0.3265, allocations: 333 kB / 1.295 GB, free: 264 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3266, allocations: 11.94 kB / 1.295 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3266, allocations: 0 / 1.295 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3266, allocations: 8 kB / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.3266, allocations: 0 / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3266, allocations: 4 kB / 1.295 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.3268, allocations: 47.52 kB / 1.295 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3268, allocations: 4.219 kB / 1.295 GB, free: 188 kB / 0.9825 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.0002852/0.327, allocations: 255.9 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.3271, allocations: 132.7 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.3272, allocations: 110.9 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/0.3273, allocations: 180.2 kB / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-05/0.3274, allocations: 184.2 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.494e-05/0.3275, allocations: 184.2 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.3278, allocations: 444.2 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.631e-05/0.3278, allocations: 105 kB / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.3279, allocations: 108.9 kB / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.935e-05/0.328, allocations: 180.2 kB / 1.297 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/0.3281, allocations: 184.2 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.434e-05/0.3282, allocations: 180.3 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.379e-05/0.3282, allocations: 180.2 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.3284, allocations: 319.9 kB / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3285, allocations: 144.7 kB / 1.298 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.3287, allocations: 184.3 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3288, allocations: 101 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.725e-05/0.3289, allocations: 184.2 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.3289, allocations: 101 kB / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003056/0.3292, allocations: 279.1 kB / 1.299 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3292, allocations: 0 / 1.299 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004463/0.3297, allocations: 91.86 kB / 1.299 GB, free: 12.24 MB / 0.9981 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.0008367/0.3305, allocations: 0.9575 MB / 1.3 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.3308, allocations: 119.9 kB / 1.3 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3308, allocations: 448 / 1.3 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.3308, allocations: 4 kB / 1.3 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.3313, allocations: 473 kB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.3348, allocations: 2.929 MB / 1.303 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.3352, allocations: 0.7782 MB / 1.304 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.3352, allocations: 0 / 1.304 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.3353, allocations: 59.41 kB / 1.304 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/0.3353, allocations: 0 / 1.304 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.365, allocations: 6.577 MB / 1.31 GB, free: 348 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.09, allocations: 8.781 kB / 1.31 GB, free: 344 kB / 0.9981 GB " [Timeout remaining time 287] (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: 18.742570480972063]