Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001755/0.001755, allocations: 116.1 kB / 17.17 MB, free: 6 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.00211/0.00211, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.058/3.058, allocations: 0.5003 GB / 0.8026 GB, free: 6.879 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_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.002036/0.002036, allocations: 61.78 kB / 1.165 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9201, allocations: 179 MB / 1.34 GB, free: 16.36 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00318/0.9233, allocations: 1.438 MB / 1.342 GB, free: 15.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00312/0.9264, allocations: 2.69 MB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.9264, allocations: 0 / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.9286, allocations: 0.586 MB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.9286, allocations: 16.23 kB / 1.345 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.9286, allocations: 0 / 1.345 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.9289, allocations: 162.8 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.9289, allocations: 22 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.929, allocations: 68.61 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.9292, allocations: 78.83 kB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.9292, allocations: 7.125 kB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.9305, allocations: 469.2 kB / 1.346 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.9305, allocations: 37.2 kB / 1.346 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.9306, allocations: 100.8 kB / 1.346 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.9315, allocations: 433.6 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9315, allocations: 2.25 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9315, allocations: 0 / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.9315, allocations: 0 / 1.346 GB, free: 12.63 MB / 1.061 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.0008132/0.9323, allocations: 0.5654 MB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9323, allocations: 10.12 kB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.038e-05/0.9323, allocations: 80.03 kB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.9324, allocations: 106 kB / 1.347 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.9325, allocations: 104.9 kB / 1.347 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.9327, allocations: 301 kB / 1.347 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.9327, allocations: 156.2 kB / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.9328, allocations: 157.4 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.345e-05/0.9328, allocations: 110 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.9328, allocations: 76.53 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.9328, allocations: 150.6 kB / 1.348 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.9329, allocations: 151.2 kB / 1.348 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.9329, allocations: 155.7 kB / 1.348 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.9331, allocations: 0.5433 MB / 1.349 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.9332, allocations: 175.8 kB / 1.349 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.9332, allocations: 80.14 kB / 1.349 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.9332, allocations: 75.28 kB / 1.349 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.9333, allocations: 114.3 kB / 1.349 GB, free: 9.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9333, allocations: 2.062 kB / 1.349 GB, free: 9.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.000167/0.9334, allocations: 53.98 kB / 1.349 GB, free: 9.582 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.9335, allocations: 131.8 kB / 1.349 GB, free: 9.441 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.9339, allocations: 431.4 kB / 1.35 GB, free: 9.234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.9339, allocations: 27.45 kB / 1.35 GB, free: 9.203 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.934, allocations: 133.7 kB / 1.35 GB, free: 9.086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.934, allocations: 1.125 kB / 1.35 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.9341, allocations: 94.11 kB / 1.35 GB, free: 9.043 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.9342, allocations: 340.1 kB / 1.35 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.9343, allocations: 97.5 kB / 1.35 GB, free: 8.684 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.9344, allocations: 162.2 kB / 1.35 GB, free: 8.586 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.9347, allocations: 310.1 kB / 1.351 GB, free: 8.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9347, allocations: 0 / 1.351 GB, free: 8.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005123/0.9352, allocations: 322.9 kB / 1.351 GB, free: 8.297 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9352, allocations: 10.19 kB / 1.351 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9352, allocations: 5.766 kB / 1.351 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9353, allocations: 6.562 kB / 1.351 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-06/0.9353, allocations: 3.188 kB / 1.351 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9353, allocations: 5.312 kB / 1.351 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.9354, allocations: 45.72 kB / 1.351 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.9354, allocations: 9.078 kB / 1.351 GB, free: 8.242 MB / 1.061 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.0002175/0.9357, allocations: 243.2 kB / 1.351 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.9357, allocations: 133.7 kB / 1.351 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.9357, allocations: 116 kB / 1.352 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.9358, allocations: 176.9 kB / 1.352 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.9358, allocations: 186.7 kB / 1.352 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.9358, allocations: 178.4 kB / 1.352 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.936, allocations: 476.6 kB / 1.353 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.936, allocations: 102.9 kB / 1.353 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.9361, allocations: 106.8 kB / 1.353 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.357e-05/0.9361, allocations: 184.9 kB / 1.353 GB, free: 6.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.9361, allocations: 182.1 kB / 1.353 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.9361, allocations: 189.8 kB / 1.353 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.991e-05/0.9361, allocations: 178.3 kB / 1.353 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.9362, allocations: 329.7 kB / 1.354 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.9363, allocations: 206.1 kB / 1.354 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.9363, allocations: 186.4 kB / 1.354 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.9364, allocations: 106.3 kB / 1.354 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.9365, allocations: 182.4 kB / 1.354 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.9365, allocations: 103.1 kB / 1.355 GB, free: 4.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002608/0.9367, allocations: 279.5 kB / 1.355 GB, free: 4.551 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9367, allocations: 4 kB / 1.355 GB, free: 4.547 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004475/0.9372, allocations: 83.38 kB / 1.355 GB, free: 4.539 MB / 1.061 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.0005354/0.9377, allocations: 0.9654 MB / 1.356 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.9379, allocations: 118.7 kB / 1.356 GB, free: 3.617 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9379, allocations: 4.125 kB / 1.356 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.9379, allocations: 0.6562 kB / 1.356 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.9382, allocations: 465.3 kB / 1.356 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.9409, allocations: 2.936 MB / 1.359 GB, free: 1.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.9411, allocations: 0.7822 MB / 1.36 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.526e-05/0.9411, allocations: 3.062 kB / 1.36 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.9412, allocations: 51.83 kB / 1.36 GB, free: 488 kB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.9412, allocations: 3.938 kB / 1.36 GB, free: 484 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.9675, allocations: 6.509 MB / 1.366 GB, free: 15.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/9.507, allocations: 19.73 kB / 1.366 GB, free: 15.67 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.20517191902036]