Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.008867/0.008867, allocations: 100.1 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.001923/0.001923, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.467/1.467, 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 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 68.03 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7817, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001568/0.7833, allocations: 0.5355 MB / 1.088 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.377e-05/0.7834, allocations: 4 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.7834, allocations: 1 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.7834, allocations: 0 / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.7835, allocations: 0 / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.948e-05/0.7835, allocations: 1.562 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.7836, allocations: 8.859 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.7836, allocations: 4.562 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/0.7836, allocations: 5.984 kB / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.608e-05/0.7837, allocations: 0 / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.7837, allocations: 1.125 kB / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-06/0.7837, allocations: 3.938 kB / 1.088 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.7837, allocations: 5.125 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.7837, allocations: 0 / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.021e-05/0.7838, allocations: 3.062 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7838, allocations: 0 / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7838, allocations: 1.156 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7838, allocations: 0 / 1.088 GB, free: 4.926 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002036/0.784, allocations: 313.2 kB / 1.088 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.7841, allocations: 9.875 kB / 1.088 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.7841, allocations: 30.75 kB / 1.088 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.132e-05/0.7841, allocations: 2.641 kB / 1.088 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.361e-05/0.7842, allocations: 165.5 kB / 1.089 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.7842, allocations: 1.656 kB / 1.089 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.7842, allocations: 4.125 kB / 1.089 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.759e-05/0.7843, allocations: 27.8 kB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7843, allocations: 1.406 kB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.7843, allocations: 0.5625 kB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7843, allocations: 3.938 kB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/0.7843, allocations: 5.188 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.7846, allocations: 391.5 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.7846, allocations: 170.2 kB / 1.089 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.7846, allocations: 80.14 kB / 1.089 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.7847, allocations: 80.02 kB / 1.089 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.7847, allocations: 111 kB / 1.089 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.7847, allocations: 0 / 1.089 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.598e-05/0.7847, allocations: 27.55 kB / 1.089 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.7848, allocations: 128.8 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.7848, allocations: 97.31 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-06/0.7848, allocations: 26.8 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.7849, allocations: 80.75 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.7849, allocations: 5.281 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.7849, allocations: 10.78 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.7849, allocations: 316.1 kB / 1.09 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-06/0.785, allocations: 1.062 kB / 1.09 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-06/0.785, allocations: 3.938 kB / 1.09 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.174e-05/0.785, allocations: 76.56 kB / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.785, allocations: 75.28 kB / 1.09 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.586e-05/0.785, allocations: 28.92 kB / 1.09 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7851, allocations: 84.7 kB / 1.09 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.7851, allocations: 80.56 kB / 1.09 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.477e-05/0.7852, allocations: 160.2 kB / 1.091 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.115e-05/0.7852, allocations: 76.08 kB / 1.091 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/0.7853, allocations: 156.2 kB / 1.091 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.7854, allocations: 77.06 kB / 1.091 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.7854, allocations: 80.12 kB / 1.091 GB, free: 17.82 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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 9.781e-05/0.7855, allocations: 266.7 kB / 1.091 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.7857, allocations: 110.9 kB / 1.091 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.7857, allocations: 106.2 kB / 1.091 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/0.7858, allocations: 182.1 kB / 1.092 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001585/0.7859, allocations: 182.1 kB / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.218e-05/0.786, allocations: 182.9 kB / 1.092 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.7863, allocations: 408.4 kB / 1.092 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001424/0.7864, allocations: 102.5 kB / 1.092 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.7864, allocations: 106.8 kB / 1.092 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/0.7865, allocations: 178 kB / 1.093 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.7866, allocations: 189.8 kB / 1.093 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.307e-05/0.7866, allocations: 182 kB / 1.093 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.184e-05/0.7867, allocations: 182.2 kB / 1.093 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.7868, allocations: 309.4 kB / 1.093 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.7869, allocations: 196.1 kB / 1.094 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.7869, allocations: 178.8 kB / 1.094 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.787, allocations: 106.8 kB / 1.094 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.7871, allocations: 182 kB / 1.094 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.7871, allocations: 102.8 kB / 1.094 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.7872, allocations: 78 kB / 1.094 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7872, allocations: 4.094 kB / 1.094 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003021/0.7875, allocations: 1.094 kB / 1.094 GB, free: 14.18 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0003673/0.7878, allocations: 0.8107 MB / 1.095 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.441e-05/0.7879, allocations: 1.594 kB / 1.095 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7879, allocations: 4 kB / 1.095 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.7879, allocations: 5 kB / 1.095 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.7882, allocations: 453.5 kB / 1.096 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.7893, allocations: 1.522 MB / 1.097 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.7895, allocations: 0.6752 MB / 1.098 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.127e-06/0.7896, allocations: 6.031 kB / 1.098 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.7896, allocations: 11.38 kB / 1.098 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.7896, allocations: 0 / 1.098 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.8056, allocations: 0.915 MB / 1.099 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.588, allocations: 11.23 kB / 1.099 GB, free: 10.29 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches