Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_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_latest_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.001076/0.001076, allocations: 108 kB / 15.61 MB, free: 148 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.001068/0.001068, allocations: 194.6 kB / 16.53 MB, free: 6.66 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.39 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.316, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002072/0.3181, allocations: 0.5515 MB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.605e-05/0.3182, allocations: 4 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.3182, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.3182, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.329e-05/0.3183, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.24e-05/0.3183, allocations: 4 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.187e-05/0.3184, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/0.3184, allocations: 3.984 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.3184, allocations: 7.938 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.643e-05/0.3185, allocations: 0 / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3185, allocations: 4 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-06/0.3185, allocations: 0 / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.3185, allocations: 0 / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.3185, allocations: 7.938 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.173e-05/0.3186, allocations: 3.984 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3186, allocations: 0 / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.959e-06/0.3186, allocations: 4 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3186, allocations: 0 / 1.064 GB, free: 13.91 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002937/0.3189, allocations: 303.6 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.319, allocations: 16 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.319, allocations: 38.73 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.3191, allocations: 0.9375 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3192, allocations: 160.4 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3192, allocations: 384 / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3192, allocations: 4.375 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.075e-05/0.3193, allocations: 30.27 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3193, allocations: 3.938 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3193, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3193, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.3193, allocations: 11.94 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.3197, allocations: 375.5 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.3198, allocations: 173.1 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.3198, allocations: 84.17 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.3198, allocations: 83.22 kB / 1.065 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/0.3199, allocations: 105.8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.3199, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.91e-05/0.32, allocations: 33.69 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.3201, allocations: 130.7 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.3202, allocations: 89.86 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3202, allocations: 25.7 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.3202, allocations: 88.27 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3203, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.3203, allocations: 9.719 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3204, allocations: 318.8 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/0.3204, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.3204, allocations: 3.938 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.3205, allocations: 79.27 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.589e-05/0.3205, allocations: 83.22 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.878e-05/0.3206, allocations: 29.7 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.3206, allocations: 81.16 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.3207, allocations: 79.28 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.458e-05/0.3207, allocations: 154.5 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.887e-05/0.3208, allocations: 77 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.994e-05/0.3208, allocations: 154.5 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.3209, allocations: 87.28 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.321, allocations: 83.27 kB / 1.067 GB, free: 10.74 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 (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 0.0001202/0.3211, allocations: 260.3 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.3212, allocations: 112.8 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.3212, allocations: 108.1 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-05/0.3213, allocations: 184.2 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.558e-05/0.3214, allocations: 184.2 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.292e-05/0.3215, allocations: 184.2 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.3217, allocations: 405.1 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/0.3217, allocations: 105 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.3218, allocations: 112.9 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.104e-05/0.3218, allocations: 180.3 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.3219, allocations: 176.3 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-05/0.322, allocations: 180.5 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.385e-05/0.322, allocations: 184.2 kB / 1.069 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3222, allocations: 311.7 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.3223, allocations: 186 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.3223, allocations: 180.2 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.3224, allocations: 101 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3225, allocations: 188.2 kB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3226, allocations: 101 kB / 1.07 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.3226, allocations: 79.28 kB / 1.07 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3226, allocations: 0 / 1.07 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002901/0.3229, allocations: 4 kB / 1.07 GB, free: 7.066 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 (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.0003952/0.3233, allocations: 0.8093 MB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.398e-05/0.3233, allocations: 7.938 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3234, allocations: 0 / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.3234, allocations: 0 / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3238, allocations: 459.7 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3248, allocations: 1.52 MB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3251, allocations: 0.669 MB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.145e-06/0.3251, allocations: 7.922 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.3251, allocations: 11.44 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3252, allocations: 0 / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.343, allocations: 0.8984 MB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/7.161, allocations: 15.67 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches