Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008024/0.008024, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001657/0.001657, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 65.72 kB / 0.9505 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2546, allocations: 140.4 MB / 1.088 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.00186/0.2565, allocations: 0.8346 MB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2576, allocations: 1.01 MB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.2577, allocations: 0 / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.2578, allocations: 15.86 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.2579, allocations: 19.8 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.2582, allocations: 83.83 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2584, allocations: 127.6 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2586, allocations: 53.38 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.2587, allocations: 51.84 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.2587, allocations: 59.69 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.2588, allocations: 12 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.2589, allocations: 91.84 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.259, allocations: 31.91 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.259, allocations: 63.59 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.2593, allocations: 194.1 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2593, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2593, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2593, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 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.0008397/0.2602, allocations: 479.6 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2602, allocations: 8.031 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.2603, allocations: 50.73 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.2603, allocations: 16.75 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2605, allocations: 200.1 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.2605, allocations: 4.375 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.2606, allocations: 4.375 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.2611, allocations: 183.6 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2611, allocations: 7.938 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2612, allocations: 8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.2612, allocations: 11.98 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.2619, allocations: 207.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.2628, allocations: 456.3 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.2633, allocations: 146.4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.2637, allocations: 132.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2637, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2637, allocations: 34.56 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.2637, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.00125/0.265, allocations: 396.5 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.265, allocations: 51.41 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2651, allocations: 151.8 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2652, allocations: 37.77 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.2652, allocations: 104.4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.2653, allocations: 51.2 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.2653, allocations: 25.7 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2654, allocations: 322.8 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.2658, allocations: 115.9 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.2662, allocations: 107.9 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/0.2669, allocations: 240.6 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2669, allocations: 4 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007989/0.2677, allocations: 283.1 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2678, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2678, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2678, allocations: 3.938 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.268, allocations: 43.94 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.2681, allocations: 3.938 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.2682, allocations: 27.97 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.2683, allocations: 3.984 kB / 1.094 GB, free: 11.18 MB / 0.8575 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.888e-05/0.2684, allocations: 125.8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.2684, allocations: 15.8 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.2684, allocations: 12.84 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.2685, allocations: 8 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2685, allocations: 3.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2685, allocations: 7.984 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.2687, allocations: 225.5 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2688, allocations: 3.984 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.2689, allocations: 31.95 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.269, allocations: 3.938 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.269, allocations: 8 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.269, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.269, allocations: 3.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.2698, allocations: 375.1 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.2699, allocations: 88.95 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2699, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2701, allocations: 27.95 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.2702, allocations: 15.92 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2702, allocations: 11.94 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.781e-05/0.2703, allocations: 117.1 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2703, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002759/0.2706, allocations: 39.91 kB / 1.095 GB, free: 9.977 MB / 0.8575 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.001208/0.2718, allocations: 0.935 MB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000819/0.2726, allocations: 251.8 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2726, allocations: 0 / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.273, allocations: 143.8 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.2734, allocations: 15.94 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.2767, allocations: 2.167 MB / 1.098 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.277, allocations: 0.7215 MB / 1.099 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.2771, allocations: 23.91 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.2771, allocations: 39.42 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2772, allocations: 0 / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.296, allocations: 3.637 MB / 1.103 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.002, allocations: 9.797 kB / 1.103 GB, free: 2.027 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches