Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 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.00135/0.00135, allocations: 192 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 70.81 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2425, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001885/0.2444, allocations: 0.6731 MB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.2453, allocations: 0.839 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.2454, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.2454, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.2455, allocations: 7.938 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2456, allocations: 19.92 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.2457, allocations: 31.92 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.2458, allocations: 7.938 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.2459, allocations: 11.98 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.2459, allocations: 19.91 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.246, allocations: 4 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.246, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.246, allocations: 7.984 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.246, allocations: 11.94 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.327e-05/0.2461, allocations: 35.89 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2461, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2461, allocations: 4 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2461, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 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.0004448/0.2466, allocations: 355.7 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2466, allocations: 12.03 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.2467, allocations: 34.75 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.2467, allocations: 0.9375 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.2468, allocations: 176.3 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.2468, allocations: 4.312 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.2468, allocations: 4.375 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.247, allocations: 62.16 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.247, allocations: 3.938 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2471, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2471, allocations: 3.984 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2473, allocations: 59.94 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.2476, allocations: 261 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.2479, allocations: 70.41 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.248, allocations: 36.83 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.248, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.248, allocations: 30.56 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2481, allocations: 0 / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004575/0.2485, allocations: 113.6 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.2486, allocations: 63.33 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.2486, allocations: 97.86 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2487, allocations: 29.7 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.2487, allocations: 84.12 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2487, allocations: 7.906 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.2488, allocations: 17.84 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.2489, allocations: 310.8 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.249, allocations: 32.83 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2491, allocations: 45.67 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.2494, allocations: 56.91 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2494, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002794/0.2497, allocations: 93.56 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2497, allocations: 12.03 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2497, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2497, allocations: 3.984 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2498, allocations: 11.98 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2498, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.2499, allocations: 19.83 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.2499, allocations: 7.984 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001091/0.2501, allocations: 96.38 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.485e-05/0.2502, allocations: 33.7 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001448/0.2503, allocations: 36.81 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.2503, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000191/0.2505, allocations: 73.64 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.2505, allocations: 8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2505, allocations: 4 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-06/0.2505, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.2506, allocations: 7.984 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-06/0.2506, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.149e-05/0.2507, allocations: 11.98 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2507, allocations: 7.922 kB / 1.068 GB, free: 10.16 MB / 0.8262 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 7.813e-05/0.2508, allocations: 192.2 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.2508, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.2508, allocations: 11.52 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2508, allocations: 0 / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2509, allocations: 4 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2509, allocations: 0 / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.251, allocations: 161.6 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.251, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.2511, allocations: 11.98 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2511, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.2511, allocations: 4 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2511, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2511, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.2515, allocations: 191.3 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.2515, allocations: 77.11 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2515, allocations: 4.031 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.2516, allocations: 15.98 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.2517, allocations: 0 / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2517, allocations: 0 / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.2517, allocations: 87.27 kB / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2517, allocations: 0 / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002721/0.252, allocations: 8 kB / 1.068 GB, free: 9.316 MB / 0.8262 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.0005703/0.2526, allocations: 0.7224 MB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.2529, allocations: 75.95 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.253, allocations: 0 / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.2531, allocations: 31.97 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2534, allocations: 7.984 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.2539, allocations: 164.8 kB / 1.069 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2541, allocations: 0.6729 MB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.2541, allocations: 7.984 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.2541, allocations: 11.44 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2541, allocations: 0 / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.2698, allocations: 1.457 MB / 1.071 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.408, allocations: 13.16 kB / 1.071 GB, free: 6.152 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches