Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007939/0.0007939, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008105/0.0008105, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8603/0.8603, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.1e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00113/0.001151, allocations: 0.5626 MB / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 3.927e-05/0.001191, allocations: 0 / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.001214, allocations: 0 / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.001239, allocations: 0 / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.453e-05/0.001263, allocations: 0 / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.101e-05/0.001294, allocations: 4 kB / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.001348, allocations: 11.94 kB / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.001393, allocations: 0 / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.001421, allocations: 0 / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.831e-05/0.001439, allocations: 3.938 kB / 0.9511 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.001458, allocations: 0 / 0.9511 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-06/0.001462, allocations: 4 kB / 0.9511 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.001473, allocations: 0 / 0.9511 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.001488, allocations: 0 / 0.9511 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.261e-05/0.001541, allocations: 3.984 kB / 0.9511 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.001544, allocations: 4 kB / 0.9511 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.71e-07/0.001545, allocations: 0 / 0.9511 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.001548, allocations: 4 kB / 0.9511 GB, free: 2.875 MB / 0.9011 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.0002343/0.001783, allocations: 234.4 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.001824, allocations: 12.03 kB / 0.9513 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.001856, allocations: 34.73 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.001877, allocations: 0.9375 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.001955, allocations: 105.8 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.001966, allocations: 8.312 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.001972, allocations: 384 / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.002052, allocations: 30.27 kB / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.002059, allocations: 192 / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.002066, allocations: 4.375 kB / 0.9515 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.002071, allocations: 4.125 kB / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.331e-05/0.002085, allocations: 7.938 kB / 0.9515 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.002356, allocations: 350.6 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.707e-05/0.002423, allocations: 165.1 kB / 0.952 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.00245, allocations: 84.17 kB / 0.9521 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.002476, allocations: 79.22 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.002513, allocations: 109.8 kB / 0.9523 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.002514, allocations: 0 / 0.9523 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 6.237e-05/0.002577, allocations: 29.7 kB / 0.9523 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.002624, allocations: 130.7 kB / 0.9524 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.002698, allocations: 105.8 kB / 0.9525 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.002707, allocations: 25.7 kB / 0.9526 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.002734, allocations: 80.14 kB / 0.9526 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.002737, allocations: 3.984 kB / 0.9526 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.002753, allocations: 9.719 kB / 0.9526 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.002834, allocations: 314.8 kB / 0.9529 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.00284, allocations: 0 / 0.9529 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.002846, allocations: 3.938 kB / 0.9529 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.142e-05/0.002867, allocations: 75.28 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.002886, allocations: 83.41 kB / 0.9531 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.418e-05/0.00292, allocations: 33.64 kB / 0.9531 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.00295, allocations: 79.28 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.00297, allocations: 75.28 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-05/0.003015, allocations: 162.5 kB / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.857e-05/0.003034, allocations: 75.28 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.809e-05/0.003072, allocations: 155.1 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.003129, allocations: 79.28 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.003148, allocations: 75.28 kB / 0.9538 GB, free: 15.9 MB / 0.9167 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.000363/0.003511, allocations: 264.3 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.003549, allocations: 117 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.003585, allocations: 108.1 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/0.003634, allocations: 180.4 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.483e-05/0.003679, allocations: 180.3 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.462e-05/0.003723, allocations: 188.3 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.003864, allocations: 376.2 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.003885, allocations: 101 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.003909, allocations: 104.9 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.972e-05/0.003949, allocations: 188.1 kB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.003991, allocations: 188.2 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.679e-05/0.004028, allocations: 176.3 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.826e-05/0.004066, allocations: 184.3 kB / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.477e-05/0.004151, allocations: 299.8 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.004185, allocations: 116.8 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.004231, allocations: 180.3 kB / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/0.004275, allocations: 105 kB / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.00432, allocations: 184.2 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.004342, allocations: 104.9 kB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.004369, allocations: 83.27 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004369, allocations: 4 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001533/0.004523, allocations: 0 / 0.9571 GB, free: 12.34 MB / 0.9167 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.0002476/0.00477, allocations: 0.8087 MB / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.345e-05/0.004804, allocations: 0 / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004805, allocations: 0 / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.004807, allocations: 3.984 kB / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.005051, allocations: 459.7 kB / 0.9583 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.005717, allocations: 1.528 MB / 0.9598 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.005751, allocations: 55.36 kB / 0.9599 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.004e-06/0.005758, allocations: 4.094 kB / 0.9599 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.00578, allocations: 12.48 kB / 0.9599 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.00578, allocations: 0 / 0.9599 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.01945, allocations: 1.555 MB / 0.9614 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/6.841, allocations: 3.984 kB / 0.9614 GB, free: 7.926 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.714046145789325]