Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.007595/0.007595, allocations: 99.39 kB / 15.73 MB, free: 6.496 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.001804/0.001804, allocations: 199 kB / 16.68 MB, free: 6.375 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.344/2.344, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 69.83 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2725, allocations: 140.4 MB / 1.088 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.001728/0.2743, allocations: 0.6748 MB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.2753, allocations: 0.8355 MB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.2753, allocations: 0 / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.2754, allocations: 3.938 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.2754, allocations: 3.938 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.2756, allocations: 11.98 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.2757, allocations: 35.92 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.2757, allocations: 11.97 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.2758, allocations: 11.94 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.2759, allocations: 19.92 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2759, allocations: 0 / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.2759, allocations: 4 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2759, allocations: 7.984 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.276, allocations: 11.94 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.682e-05/0.2761, allocations: 47.8 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2761, allocations: 3.938 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2761, allocations: 4 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2761, allocations: 0 / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000512/0.2766, allocations: 350.8 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2766, allocations: 8.031 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.2767, allocations: 34.75 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.2767, allocations: 4.938 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2768, allocations: 168.3 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2768, allocations: 4.375 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.2769, allocations: 4.375 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.2771, allocations: 58.22 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2771, allocations: 3.938 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.2771, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2771, allocations: 4 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.2774, allocations: 59.88 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.2777, allocations: 265 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.278, allocations: 62.41 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2781, allocations: 40.88 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2781, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2781, allocations: 30.56 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2782, allocations: 3.938 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000471/0.2786, allocations: 121.7 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.2787, allocations: 51.41 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.2787, allocations: 109.8 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2788, allocations: 25.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.2788, allocations: 80.14 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.2789, allocations: 12.12 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.2789, allocations: 13.72 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.279, allocations: 318.9 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2791, allocations: 32.83 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2793, allocations: 41.69 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2795, allocations: 68.83 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2795, allocations: 3.938 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002789/0.2798, allocations: 85.64 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2798, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2798, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2799, allocations: 4.031 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.28, allocations: 15.97 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.28, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.2801, allocations: 11.89 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.2801, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001114/0.2802, allocations: 96.12 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.861e-05/0.2803, allocations: 45.56 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001443/0.2805, allocations: 36.83 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.82e-07/0.2805, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001895/0.2807, allocations: 65.59 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-06/0.2807, allocations: 8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.2807, allocations: 4.125 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-06/0.2807, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.2808, allocations: 8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2808, allocations: 3.984 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.2808, allocations: 7.984 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-06/0.2809, allocations: 3.938 kB / 1.091 GB, free: 13.63 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 8.138e-05/0.2809, allocations: 188.1 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.281, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.281, allocations: 15.53 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.281, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.281, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.281, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2812, allocations: 161.6 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2812, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.2813, allocations: 15.98 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2813, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.2813, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2813, allocations: 256 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.2813, allocations: 11.97 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.2816, allocations: 187.3 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.2817, allocations: 77.11 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2817, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.2818, allocations: 16.02 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.2818, allocations: 3.984 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2818, allocations: 7.938 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.2819, allocations: 79.28 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2819, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002733/0.2822, allocations: 12 kB / 1.092 GB, free: 12.77 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 (2): * Single equations (assignments): 2 * 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.0005778/0.2827, allocations: 0.7124 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.2832, allocations: 87.94 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2832, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.2833, allocations: 27.97 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.2836, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.2841, allocations: 171.1 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2843, allocations: 0.6808 MB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.2843, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2844, allocations: 15.44 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2844, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.3012, allocations: 1.494 MB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.846, allocations: 3.969 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches