Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001552/0.001552, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002001/0.002001, allocations: 220.6 kB / 22.25 MB, free: 5.105 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.074/3.074, allocations: 0.49 GB / 0.7951 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",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.001978/0.001978, allocations: 67.17 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002926/0.3338, allocations: 1.436 MB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003567/0.3374, allocations: 2.406 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.3374, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.3389, allocations: 0.5427 MB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.339, allocations: 15.91 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.339, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.3392, allocations: 158.9 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.3393, allocations: 24.53 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.3394, allocations: 63.72 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3395, allocations: 79.52 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3395, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008748/0.3404, allocations: 411.5 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.3405, allocations: 31.84 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3406, allocations: 83.53 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.3412, allocations: 438 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3412, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3412, allocations: 3.938 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3412, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 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.0007993/0.342, allocations: 484.8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.342, allocations: 8.031 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.534e-05/0.3421, allocations: 106 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.3423, allocations: 108 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.3425, allocations: 248.5 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.3426, allocations: 162.9 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/0.3427, allocations: 154.9 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.528e-05/0.3428, allocations: 101.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.3428, allocations: 79.22 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.3429, allocations: 154.5 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.3429, allocations: 154.5 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.343, allocations: 158.5 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3434, allocations: 0.5007 MB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3435, allocations: 165.1 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.3435, allocations: 80.14 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3436, allocations: 83.33 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.3436, allocations: 113.8 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.3436, allocations: 0 / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001887/0.3438, allocations: 61.39 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3439, allocations: 130.7 kB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.3444, allocations: 433.3 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3444, allocations: 25.7 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.3445, allocations: 136.5 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.3445, allocations: 3.938 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.665e-05/0.3446, allocations: 93.67 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3447, allocations: 338.8 kB / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3449, allocations: 100.6 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.3451, allocations: 173.8 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.3454, allocations: 297.7 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3454, allocations: 0 / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005371/0.3459, allocations: 333 kB / 1.336 GB, free: 6.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3459, allocations: 7.938 kB / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3459, allocations: 4 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.346, allocations: 0 / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-06/0.346, allocations: 4 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.346, allocations: 4.062 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3461, allocations: 55.73 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3461, allocations: 4 kB / 1.336 GB, free: 6.582 MB / 1.029 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.0002456/0.3464, allocations: 237.1 kB / 1.336 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.3465, allocations: 136.7 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.3466, allocations: 110.9 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.514e-05/0.3466, allocations: 188.2 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.158e-05/0.3467, allocations: 180.3 kB / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.068e-05/0.3468, allocations: 184.2 kB / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.3471, allocations: 444.2 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-05/0.3472, allocations: 109 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.3472, allocations: 104.9 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.531e-05/0.3473, allocations: 184.2 kB / 1.338 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.3474, allocations: 180.3 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.548e-05/0.3475, allocations: 180.4 kB / 1.338 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-05/0.3475, allocations: 176.3 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3477, allocations: 335.6 kB / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.3478, allocations: 128.7 kB / 1.339 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3479, allocations: 184.2 kB / 1.339 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3481, allocations: 109 kB / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.3482, allocations: 180.2 kB / 1.339 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.3482, allocations: 109 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002839/0.3485, allocations: 275.1 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3485, allocations: 0 / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003919/0.3489, allocations: 83.88 kB / 1.34 GB, free: 2.648 MB / 1.029 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.0007345/0.3496, allocations: 0.9644 MB / 1.341 GB, free: 1.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3498, allocations: 119.9 kB / 1.341 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3498, allocations: 0 / 1.341 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3498, allocations: 0 / 1.341 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3503, allocations: 467.4 kB / 1.341 GB, free: 1.082 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.3533, allocations: 2.941 MB / 1.344 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.3535, allocations: 164.2 kB / 1.344 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.3535, allocations: 3.984 kB / 1.344 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.3536, allocations: 55.41 kB / 1.344 GB, free: 13.79 MB / 1.045 GB Notification: Performance of SimCode: time 3.7e-07/0.3536, allocations: 4 kB / 1.344 GB, free: 13.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.3879, allocations: 7.049 MB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 12.77 kB / 1.351 GB, free: 6.879 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.420179128996097]