Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.00153/0.00153, 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.001731/0.001731, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 64.56 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3254, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001843/0.3273, allocations: 0.5551 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.555e-05/0.3274, allocations: 0 / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.3274, allocations: 0 / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.3274, allocations: 3.938 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.368e-05/0.3275, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.902e-05/0.3275, allocations: 8 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.3276, allocations: 4 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.3276, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.3e-05/0.3276, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.589e-05/0.3276, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3277, allocations: 4 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-06/0.3277, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.3277, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.3277, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.614e-05/0.3278, allocations: 11.92 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3278, allocations: 3.938 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3278, allocations: 4 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3278, allocations: 0 / 1.064 GB, free: 13.87 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.0002751/0.3281, allocations: 311.6 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3281, allocations: 12.03 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.3282, allocations: 30.75 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.3282, allocations: 0.9375 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3283, allocations: 164.4 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3283, allocations: 384 / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.3283, allocations: 384 / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.586e-05/0.3284, allocations: 38.27 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3284, allocations: 3.938 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.3284, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3284, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.424e-05/0.3284, allocations: 3.938 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.3287, allocations: 383.5 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.3288, allocations: 173.1 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.3288, allocations: 88.2 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3289, allocations: 75.28 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.3289, allocations: 109.8 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3289, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.41e-05/0.329, allocations: 25.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3291, allocations: 130.7 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.3291, allocations: 101.8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3292, allocations: 25.7 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.3292, allocations: 80.14 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.3292, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3293, allocations: 13.72 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.3294, allocations: 310.8 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.3294, allocations: 4.125 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.3294, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.3294, allocations: 75.28 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.733e-05/0.3294, allocations: 87.16 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.569e-05/0.3295, allocations: 33.64 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.3295, allocations: 81 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.3296, allocations: 83.27 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.145e-05/0.3296, allocations: 154.5 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.212e-05/0.3297, allocations: 80.95 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.2e-05/0.3297, allocations: 150.6 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.3298, allocations: 79.22 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3298, allocations: 79.28 kB / 1.067 GB, free: 10.7 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 9.851e-05/0.3299, allocations: 264.3 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.33, allocations: 116.8 kB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.33, allocations: 108.1 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/0.3301, allocations: 176.3 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/0.3301, allocations: 180.2 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.843e-05/0.3302, allocations: 180.3 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3304, allocations: 417.1 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/0.3304, allocations: 101 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.3304, allocations: 104.9 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.104e-05/0.3305, allocations: 184.2 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.3306, allocations: 184.3 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-05/0.3306, allocations: 180.5 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.185e-05/0.3307, allocations: 180.3 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.3308, allocations: 315.7 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.3309, allocations: 182.1 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.331, allocations: 180.2 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.331, allocations: 104.9 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3311, allocations: 188.2 kB / 1.07 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.3311, allocations: 105 kB / 1.07 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.3312, allocations: 79.28 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3312, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002382/0.3314, allocations: 0 / 1.071 GB, free: 7.023 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.0003652/0.3318, allocations: 0.8132 MB / 1.071 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.278e-05/0.3318, allocations: 4 kB / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3318, allocations: 0 / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.3318, allocations: 0 / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3322, allocations: 461.2 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.3331, allocations: 1.528 MB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3334, allocations: 0.669 MB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.213e-06/0.3334, allocations: 0 / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.3334, allocations: 7.438 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3334, allocations: 0 / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.3512, allocations: 0.8993 MB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.497, allocations: 11.59 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches