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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008242/0.0008242, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005137/0.005137, allocations: 173 kB / 16.26 MB, free: 6.613 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 16 kB / 0.873 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6429/0.6433, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.0009395/0.6443, allocations: 0.5447 MB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.6455, allocations: 1.018 MB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.6455, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.163e-05/0.6456, allocations: 7.922 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.6457, allocations: 11.86 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.6459, allocations: 75.86 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.646, allocations: 115.6 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.6462, allocations: 49.36 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.6462, allocations: 39.84 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.6463, allocations: 43.77 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.6463, allocations: 4 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.6465, allocations: 63.89 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.6465, allocations: 31.91 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.6466, allocations: 77.3 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.6468, allocations: 177.7 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6468, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6468, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.6468, allocations: 0 / 1.025 GB, free: 13.57 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.0007099/0.6475, allocations: 490.9 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6475, allocations: 8.031 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.6476, allocations: 46.73 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.6476, allocations: 12.75 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.6478, allocations: 215.8 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.6478, allocations: 4.375 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.6478, allocations: 4.375 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.6484, allocations: 217.2 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.6484, allocations: 3.938 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.6484, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.6485, allocations: 15.98 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.6492, allocations: 259.7 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008754/0.6501, allocations: 484.3 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.6505, allocations: 174.3 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.651, allocations: 164.7 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.651, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.651, allocations: 34.56 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.651, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001308/0.6523, allocations: 479.5 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.6524, allocations: 51.41 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.6525, allocations: 156.6 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.6525, allocations: 25.7 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.6526, allocations: 108.4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.6527, allocations: 51.33 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.6527, allocations: 17.7 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6528, allocations: 322.8 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.6532, allocations: 143.9 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.6536, allocations: 139.8 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.6544, allocations: 294.6 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6544, allocations: 4 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008323/0.6552, allocations: 333.3 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6553, allocations: 4 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.6553, allocations: 0 / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6553, allocations: 0 / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.6555, allocations: 55.94 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6556, allocations: 3.938 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.6557, allocations: 51.81 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.6558, allocations: 3.984 kB / 1.03 GB, free: 9.051 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 9.303e-05/0.6559, allocations: 122.4 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.6559, allocations: 15.89 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.6559, allocations: 8.844 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.656, allocations: 8 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.656, allocations: 3.938 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.656, allocations: 7.984 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.6562, allocations: 225.5 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6562, allocations: 0 / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.6565, allocations: 51.94 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6565, allocations: 7.938 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.6565, allocations: 7.938 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6565, allocations: 4 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6565, allocations: 3.938 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.6574, allocations: 431.1 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.6574, allocations: 89.02 kB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.6575, allocations: 0 / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.6577, allocations: 39.95 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.6577, allocations: 15.92 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6578, allocations: 11.94 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.6578, allocations: 117.3 kB / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6578, allocations: 0 / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002825/0.6581, allocations: 43.83 kB / 1.031 GB, free: 7.77 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.00124/0.6594, allocations: 0.9832 MB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008484/0.6602, allocations: 303.8 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6603, allocations: 4 kB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.6607, allocations: 167.8 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.661, allocations: 21.42 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.6644, allocations: 2.331 MB / 1.034 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.6647, allocations: 0.7199 MB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.608e-05/0.6648, allocations: 19.97 kB / 1.035 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.6649, allocations: 39.42 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of SimCode: time 1.863e-06/0.6649, allocations: 0 / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.6793, allocations: 2.995 MB / 1.038 GB, free: 212 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.6796, allocations: 207.9 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.451, allocations: 0 / 1.038 GB, free: 15.95 MB / 0.795 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