Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001519, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 67.91 kB / 0.8694 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.63, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002036/0.632, allocations: 0.8188 MB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.6332, allocations: 1.018 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.6332, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.648e-05/0.6333, allocations: 11.88 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.6334, allocations: 23.78 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.6337, allocations: 83.78 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.6339, allocations: 119.7 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.634, allocations: 57.34 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.6341, allocations: 55.78 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.6342, allocations: 59.75 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.6342, allocations: 8 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.6343, allocations: 59.95 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.6344, allocations: 31.92 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.6344, allocations: 63.58 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.6347, allocations: 185.6 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6347, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6347, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6347, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007487/0.6355, allocations: 490.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.6355, allocations: 12.03 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.6355, allocations: 42.73 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.6356, allocations: 16.75 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.6358, allocations: 207.9 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.6358, allocations: 16.31 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.6358, allocations: 4.375 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.6363, allocations: 182.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6363, allocations: 3.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.6364, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.6364, allocations: 15.94 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.6371, allocations: 203.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.6379, allocations: 460.3 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.6383, allocations: 142.5 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.6387, allocations: 132.8 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.6387, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.6387, allocations: 34.5 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.6387, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001221/0.64, allocations: 391.4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.64, allocations: 51.41 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.6401, allocations: 147.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.6402, allocations: 33.7 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.6402, allocations: 108.4 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.6403, allocations: 51.33 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.6403, allocations: 21.72 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.6404, allocations: 322.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.6408, allocations: 115.9 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.6412, allocations: 119.8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.6419, allocations: 238.3 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6419, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007795/0.6427, allocations: 273.4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6427, allocations: 4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6427, allocations: 4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6427, allocations: 0 / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.643, allocations: 35.95 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.643, allocations: 3.938 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.6431, allocations: 39.8 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.6432, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 5 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0001107/0.6433, allocations: 137.8 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.6433, allocations: 7.906 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.6434, allocations: 16.83 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.6434, allocations: 8 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.6434, allocations: 7.875 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6434, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.6437, allocations: 229.5 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6437, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.6439, allocations: 39.89 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.6439, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.6439, allocations: 7.984 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6439, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6439, allocations: 7.938 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.6448, allocations: 380.4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.6448, allocations: 89 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.6449, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.6451, allocations: 31.95 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.6451, allocations: 15.92 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.6451, allocations: 4 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.6452, allocations: 117.5 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6452, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002778/0.6455, allocations: 39.84 kB / 1.025 GB, free: 10.62 MB / 0.7794 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.001123/0.6466, allocations: 0.9237 MB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.6475, allocations: 263.7 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6475, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.6479, allocations: 144.3 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.6482, allocations: 25.62 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.6514, allocations: 2.149 MB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6517, allocations: 0.7236 MB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.506e-05/0.6518, allocations: 19.97 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.6518, allocations: 35.42 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of SimCode: time 4.5e-07/0.6519, allocations: 0 / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.6843, allocations: 3.5 MB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.798, allocations: 8.797 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches