Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.006582/0.006582, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001484/0.001484, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.691/2.691, allocations: 469.4 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3101, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002055/0.3121, allocations: 0.781 MB / 1.221 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3133, allocations: 0.8545 MB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.3134, allocations: 4 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.3134, allocations: 3.938 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.3135, allocations: 15.81 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.3137, allocations: 47.88 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3138, allocations: 79.89 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3139, allocations: 31.95 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.314, allocations: 43.84 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.3141, allocations: 43.83 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.3142, allocations: 11.98 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.3142, allocations: 8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.3142, allocations: 31.86 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.3143, allocations: 27.86 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3144, allocations: 87.59 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3144, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3144, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3144, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006362/0.3151, allocations: 391.1 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3151, allocations: 15.97 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.3152, allocations: 38.75 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3152, allocations: 12.88 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3154, allocations: 180.2 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3154, allocations: 4.375 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3154, allocations: 12.12 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.3157, allocations: 102.4 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3158, allocations: 0 / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3158, allocations: 0 / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3158, allocations: 4 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.3162, allocations: 99.89 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.3167, allocations: 340.7 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.3174, allocations: 126.5 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3176, allocations: 56.8 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3176, allocations: 7.984 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.3176, allocations: 34.5 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3177, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006835/0.3183, allocations: 181.5 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3184, allocations: 55.41 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.3185, allocations: 129.7 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3185, allocations: 25.7 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.3186, allocations: 104.1 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.3186, allocations: 15.86 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.3187, allocations: 25.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3188, allocations: 314.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.319, allocations: 43.95 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.3192, allocations: 55.88 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.3196, allocations: 97.23 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3196, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004219/0.32, allocations: 141.5 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.32, allocations: 4 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.32, allocations: 4 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.32, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3202, allocations: 27.97 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3202, allocations: 3.938 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3204, allocations: 19.92 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3204, allocations: 7.922 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.32e-05/0.3205, allocations: 115.2 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.3205, allocations: 11.95 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.321, allocations: 142 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.321, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.321, allocations: 7.875 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.321, allocations: 7.938 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.3212, allocations: 197.6 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3213, allocations: 4 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3214, allocations: 31.91 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3214, allocations: 0 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3215, allocations: 7.984 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3215, allocations: 0 / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3215, allocations: 7.922 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.322, allocations: 235.4 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.322, allocations: 85.06 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.322, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.3222, allocations: 15.98 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.3223, allocations: 19.91 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3223, allocations: 8 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.3224, allocations: 91.7 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3224, allocations: 4 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002407/0.3226, allocations: 12 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008174/0.3234, allocations: 0.7787 MB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.3239, allocations: 103.9 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3239, allocations: 3.938 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3241, allocations: 59.95 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3244, allocations: 15.92 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.3265, allocations: 1.536 MB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3268, allocations: 0.6924 MB / 1.228 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.915e-05/0.3269, allocations: 15.98 kB / 1.228 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.327, allocations: 27.42 kB / 1.228 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of SimCode: time 1.593e-06/0.327, allocations: 0 / 1.228 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.3459, allocations: 2.705 MB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.178, allocations: 15.91 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_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_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches