Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Limiter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_10_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.004803/0.004803, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001114/0.001114, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.385/2.385, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.12 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7141, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001781/0.7159, allocations: 0.6808 MB / 1.167 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009489/0.7169, allocations: 0.8414 MB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.7169, allocations: 0 / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.717, allocations: 3.938 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.717, allocations: 4 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.7172, allocations: 15.92 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.411e-05/0.7173, allocations: 35.91 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.7174, allocations: 7.984 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.7174, allocations: 15.92 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.7175, allocations: 23.92 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.7175, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.7175, allocations: 4 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.7175, allocations: 0 / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.7176, allocations: 19.94 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.316e-05/0.7177, allocations: 35.86 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7177, allocations: 0 / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7177, allocations: 3.938 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.7177, allocations: 0 / 1.168 GB, free: 2.066 MB / 0.8887 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.0005065/0.7182, allocations: 363 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7183, allocations: 8.922 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.7183, allocations: 30.75 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.7183, allocations: 8.938 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.7185, allocations: 168.3 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.7185, allocations: 384 / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.7185, allocations: 4.375 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.7187, allocations: 58.22 kB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.7188, allocations: 3.938 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7188, allocations: 0 / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.7188, allocations: 4 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.719, allocations: 55.94 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.7194, allocations: 276.8 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.7197, allocations: 66.47 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.7198, allocations: 32.88 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.7198, allocations: 3.938 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.7198, allocations: 34.56 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.524e-06/0.7199, allocations: 3.984 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004777/0.7203, allocations: 117.5 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.7204, allocations: 51.41 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.7205, allocations: 105.8 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.7205, allocations: 25.7 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.7205, allocations: 84.14 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.7206, allocations: 7.891 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.7206, allocations: 21.83 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.7207, allocations: 314.8 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.7209, allocations: 32.91 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.721, allocations: 41.69 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.7213, allocations: 60.89 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.7213, allocations: 3.938 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002838/0.7216, allocations: 89.58 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7216, allocations: 12.02 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7216, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.7216, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.7217, allocations: 11.98 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7217, allocations: 4 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.7218, allocations: 11.94 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.7218, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001128/0.722, allocations: 96.12 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.541e-05/0.7221, allocations: 37.69 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001495/0.7222, allocations: 40.77 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.7222, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002028/0.7224, allocations: 73.62 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.7225, allocations: 8 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.7225, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.7225, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.7225, allocations: 11.98 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-06/0.7225, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.7226, allocations: 7.984 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.7226, allocations: 4 kB / 1.17 GB, free: 15.45 MB / 0.9044 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 0.0001004/0.7227, allocations: 188.2 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.7227, allocations: 3.938 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.7228, allocations: 7.531 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7228, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7228, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.7228, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.723, allocations: 161.6 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.723, allocations: 256 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.7231, allocations: 19.98 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7231, allocations: 3.984 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.7231, allocations: 8 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7231, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7231, allocations: 3.938 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.7234, allocations: 183.4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.7235, allocations: 77.11 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.7235, allocations: 12.02 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.7236, allocations: 7.984 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.7236, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.7237, allocations: 4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.7237, allocations: 83.28 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7237, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002801/0.724, allocations: 8 kB / 1.171 GB, free: 14.6 MB / 0.9044 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.0006089/0.7246, allocations: 0.7201 MB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.725, allocations: 83.94 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.725, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.7251, allocations: 31.91 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.7254, allocations: 10.66 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.7259, allocations: 155.2 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.7262, allocations: 0.6845 MB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.7262, allocations: 0 / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.7263, allocations: 19.38 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.7263, allocations: 0 / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.7465, allocations: 1.476 MB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.962, allocations: 15.95 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches