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.002009/0.002009, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002263/0.002263, allocations: 221.3 kB / 23.03 MB, free: 4.941 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.289/3.289, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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="cs",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="cs",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.002062/0.002062, allocations: 66.59 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3914, allocations: 176.1 MB / 1.327 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001948/0.3933, allocations: 0.5432 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.449e-05/0.3934, allocations: 11.97 kB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.3934, allocations: 0 / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.3934, allocations: 3.938 kB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.3934, allocations: 7.938 kB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.934e-05/0.3935, allocations: 0 / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.3935, allocations: 4 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.033e-05/0.3936, allocations: 0 / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.3936, allocations: 0 / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.08e-05/0.3936, allocations: 0 / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3936, allocations: 0 / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.3937, allocations: 0 / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.3937, allocations: 4 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.3937, allocations: 4 kB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.72e-05/0.3938, allocations: 3.938 kB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3938, allocations: 0 / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3938, allocations: 4 kB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.3938, allocations: 0 / 1.327 GB, free: 0.9844 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.0003506/0.3941, allocations: 238.7 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3942, allocations: 12.03 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.431e-05/0.3942, allocations: 4.125 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3942, allocations: 30.75 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.3942, allocations: 0.9375 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3944, allocations: 110.5 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3944, allocations: 4.375 kB / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3944, allocations: 384 / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3945, allocations: 41.94 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3945, allocations: 0 / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.3945, allocations: 0 / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3945, allocations: 4 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.3945, allocations: 0 / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.3949, allocations: 354.5 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3951, allocations: 177.5 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.3951, allocations: 80.14 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.3951, allocations: 75.28 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/0.3952, allocations: 109.8 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3952, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.944e-05/0.3953, allocations: 33.73 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.3954, allocations: 126.7 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3955, allocations: 97.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3955, allocations: 25.7 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.3955, allocations: 84.14 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3955, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.3956, allocations: 13.7 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3957, allocations: 314.8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/0.3957, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-06/0.3957, allocations: 4.125 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.3958, allocations: 79.22 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-05/0.3958, allocations: 79.22 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.349e-05/0.3959, allocations: 29.7 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.3959, allocations: 79.28 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.3959, allocations: 79.22 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-05/0.396, allocations: 154.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.3961, allocations: 83.2 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.694e-05/0.3961, allocations: 154.6 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.3962, allocations: 79.28 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.3963, allocations: 79.22 kB / 1.33 GB, free: 14 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.0001355/0.3964, allocations: 264.9 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.3965, allocations: 105 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.3965, allocations: 116.1 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-05/0.3966, allocations: 180.3 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.057e-05/0.3967, allocations: 176.3 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8e-05/0.3968, allocations: 184.1 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.397, allocations: 384.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.767e-05/0.3971, allocations: 108.9 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.3971, allocations: 101 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-05/0.3972, allocations: 180.3 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.3973, allocations: 184.2 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.322e-05/0.3974, allocations: 184.6 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-05/0.3975, allocations: 180.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.3976, allocations: 307.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.3977, allocations: 112.9 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.3978, allocations: 176.3 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.3979, allocations: 108.9 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.398, allocations: 180.3 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.398, allocations: 101 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.3981, allocations: 83.22 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3981, allocations: 4.094 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002502/0.3983, allocations: 0 / 1.333 GB, free: 10.44 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.0005614/0.3989, allocations: 0.8048 MB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.153e-05/0.3989, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3989, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.3989, allocations: 3.938 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3994, allocations: 463.7 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.4006, allocations: 1.533 MB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.4006, allocations: 59.34 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.853e-06/0.4007, allocations: 0 / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.4007, allocations: 7.438 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4007, allocations: 0 / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.4212, allocations: 1.074 MB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.93, allocations: 7.188 kB / 1.337 GB, free: 6.516 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.766583443037234]