Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.001225/0.001225, 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.001313/0.001313, allocations: 198.4 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 68.14 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6558, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001957/0.6578, allocations: 0.6847 MB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.6586, allocations: 0.8355 MB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.6586, allocations: 1.375 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.6587, allocations: 11.92 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.6587, allocations: 3.938 kB / 0.9512 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.6589, allocations: 21.08 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.215e-05/0.659, allocations: 47.41 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.6591, allocations: 17.7 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.6592, allocations: 26.77 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.6592, allocations: 22.69 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.6593, allocations: 8.562 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.6593, allocations: 3.781 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.6593, allocations: 13.52 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.6593, allocations: 19.55 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.169e-05/0.6594, allocations: 47.7 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6594, allocations: 1.094 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6594, allocations: 0 / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6594, allocations: 0 / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004436/0.6599, allocations: 362.9 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6599, allocations: 13.81 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.66, allocations: 35.5 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.66, allocations: 3.094 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.6601, allocations: 175.4 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6601, allocations: 2.5 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.6601, allocations: 2.031 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.6603, allocations: 80.31 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6603, allocations: 0 / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.6604, allocations: 5.25 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6604, allocations: 4 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.6606, allocations: 47.08 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.6609, allocations: 283.3 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.6611, allocations: 71.56 kB / 0.9525 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.6612, allocations: 26.61 kB / 0.9525 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.6612, allocations: 1.188 kB / 0.9525 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.6612, allocations: 38.55 kB / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.6613, allocations: 1.219 kB / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003863/0.6616, allocations: 112 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.6617, allocations: 56.69 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.6617, allocations: 107.6 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.6617, allocations: 25.7 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.6618, allocations: 85.89 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.6618, allocations: 21.47 kB / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.6618, allocations: 17.8 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.6619, allocations: 320.5 kB / 0.9533 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.885e-05/0.662, allocations: 27.88 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.6621, allocations: 25.48 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.6623, allocations: 49.12 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6623, allocations: 0 / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000225/0.6625, allocations: 89.3 kB / 0.9535 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6625, allocations: 14.28 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6625, allocations: 0 / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6626, allocations: 1.281 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.6627, allocations: 11.55 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.6627, allocations: 0 / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.6628, allocations: 8.859 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.6628, allocations: 1.062 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.187e-05/0.6629, allocations: 117.2 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.6629, allocations: 9.328 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.6629, allocations: 13.17 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6629, allocations: 5.234 kB / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6629, allocations: 0 / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.663, allocations: 0 / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.6631, allocations: 171.9 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6631, allocations: 1.281 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.6632, allocations: 10.58 kB / 0.9538 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6632, allocations: 5.297 kB / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.6632, allocations: 0 / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6632, allocations: 5.188 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6632, allocations: 0 / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.6635, allocations: 183.5 kB / 0.954 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.6635, allocations: 82.48 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.6635, allocations: 1.469 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.6636, allocations: 8.797 kB / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.6637, allocations: 15.02 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.6637, allocations: 1.188 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.6638, allocations: 85.66 kB / 0.9542 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6638, allocations: 0 / 0.9542 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002185/0.664, allocations: 11.03 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004512/0.6644, allocations: 0.7209 MB / 0.9549 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.6647, allocations: 50.7 kB / 0.9549 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6647, allocations: 0 / 0.9549 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.6648, allocations: 43.38 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.6651, allocations: 2.75 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.6664, allocations: 1.321 MB / 0.9563 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.6665, allocations: 0.6849 MB / 0.9569 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.31e-05/0.6666, allocations: 11 kB / 0.957 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.6667, allocations: 19.42 kB / 0.957 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.6667, allocations: 0 / 0.957 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/0.7214, allocations: 1.812 MB / 0.9587 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.548, allocations: 11.84 kB / 0.9588 GB, free: 1.379 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches