Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 106.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.284/3.284, allocations: 0.49 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.02 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001755/0.3324, allocations: 0.5584 MB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.331e-05/0.3324, allocations: 4 kB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.3324, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.3325, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.244e-05/0.3325, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.764e-05/0.3325, allocations: 0 / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.3326, allocations: 7.938 kB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3326, allocations: 0 / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.306e-05/0.3326, allocations: 0 / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.65e-05/0.3326, allocations: 0 / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3326, allocations: 0 / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.3326, allocations: 8 kB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.3327, allocations: 0 / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.3327, allocations: 3.938 kB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.565e-05/0.3327, allocations: 4 kB / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3327, allocations: 0 / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3327, allocations: 3.984 kB / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3327, allocations: 0 / 1.321 GB, free: 2.734 MB / 1.014 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.0003168/0.3331, allocations: 311.8 kB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3331, allocations: 11.98 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.3331, allocations: 38.75 kB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.911e-05/0.3332, allocations: 4.922 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3333, allocations: 168.3 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.3333, allocations: 384 / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-06/0.3333, allocations: 384 / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.809e-05/0.3334, allocations: 38.2 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3334, allocations: 3.938 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3334, allocations: 0 / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3334, allocations: 0 / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.3334, allocations: 0 / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.3338, allocations: 387.5 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.3338, allocations: 169.1 kB / 1.322 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.3339, allocations: 84.08 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.3339, allocations: 79.31 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.334, allocations: 109.8 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.334, allocations: 0 / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 6.21e-05/0.334, allocations: 25.7 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3341, allocations: 131.1 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.3342, allocations: 97.84 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3342, allocations: 25.7 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.3343, allocations: 84.27 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.3343, allocations: 0 / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.3343, allocations: 17.66 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3344, allocations: 314.8 kB / 1.323 GB, free: 456 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/0.3344, allocations: 3.938 kB / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-06/0.3344, allocations: 0 / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.3345, allocations: 75.28 kB / 1.323 GB, free: 376 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.167e-05/0.3345, allocations: 79.22 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.731e-05/0.3346, allocations: 33.7 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.3346, allocations: 88.83 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.3346, allocations: 79.22 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-05/0.3347, allocations: 154.6 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.078e-05/0.3348, allocations: 75.28 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.409e-05/0.3348, allocations: 154.5 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.3349, allocations: 75.28 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.3349, allocations: 91.22 kB / 1.324 GB, free: 15.54 MB / 1.029 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.0001259/0.3351, allocations: 260.3 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.3351, allocations: 105 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.3352, allocations: 108.1 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-05/0.3353, allocations: 180.2 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-05/0.3353, allocations: 184.3 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-05/0.3354, allocations: 180.2 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.3357, allocations: 405.2 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-05/0.3357, allocations: 105 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.3358, allocations: 108.9 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-05/0.3359, allocations: 184.2 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.336, allocations: 192.2 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.892e-05/0.3361, allocations: 176.6 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.176e-05/0.3361, allocations: 176.3 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3363, allocations: 315.7 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.3364, allocations: 186 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.3365, allocations: 180.3 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3366, allocations: 101 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.3366, allocations: 184.2 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.3367, allocations: 105 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.3367, allocations: 83.28 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3367, allocations: 0 / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002556/0.337, allocations: 0 / 1.328 GB, free: 11.88 MB / 1.029 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.0004811/0.3375, allocations: 0.8125 MB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.718e-05/0.3375, allocations: 8.094 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3375, allocations: 0 / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3375, allocations: 0 / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3379, allocations: 455.6 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.339, allocations: 1.532 MB / 1.33 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3393, allocations: 0.673 MB / 1.331 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.562e-06/0.3394, allocations: 0 / 1.331 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.3394, allocations: 7.438 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3394, allocations: 4 kB / 1.331 GB, free: 8.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.3702, allocations: 0.9265 MB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.571, allocations: 8.703 kB / 1.332 GB, free: 7.43 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.45210479106754]