Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.00164/0.00164, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 191.5 kB / 16.25 MB, free: 6.152 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.513/2.513, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 71.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6464/0.6487, allocations: 140.4 MB / 0.9493 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001865/0.6506, allocations: 0.7572 MB / 0.95 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007132/0.6513, allocations: 0.8337 MB / 0.9508 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.6514, allocations: 3.938 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.6514, allocations: 5.719 kB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.6515, allocations: 7.938 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.6516, allocations: 19.83 kB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.6517, allocations: 47.36 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.6518, allocations: 10.56 kB / 0.9509 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.6519, allocations: 22.64 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.6519, allocations: 23.31 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.652, allocations: 7 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.652, allocations: 4.375 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.652, allocations: 17.3 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.6521, allocations: 15.52 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.6522, allocations: 52.84 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6522, allocations: 0 / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6522, allocations: 0 / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.6522, allocations: 1.594 kB / 0.951 GB, free: 7.695 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.000482/0.6527, allocations: 356.4 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6528, allocations: 13.5 kB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.6528, allocations: 36.25 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.6528, allocations: 7.531 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.653, allocations: 167 kB / 0.9516 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.653, allocations: 5.656 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.653, allocations: 3.125 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.6532, allocations: 71.45 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6532, allocations: 0 / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6532, allocations: 5.375 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6532, allocations: 4 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.6534, allocations: 47.45 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.6539, allocations: 292.1 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.6541, allocations: 63.3 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.6542, allocations: 30.62 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.6542, allocations: 1.453 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.6543, allocations: 30.56 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.6543, allocations: 1.375 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004793/0.6548, allocations: 115.7 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.6548, allocations: 52.69 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.6549, allocations: 110.6 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.6549, allocations: 30.8 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.655, allocations: 81.45 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.655, allocations: 21.3 kB / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.6551, allocations: 18.16 kB / 0.9525 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6552, allocations: 319.8 kB / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6553, allocations: 28.75 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.6554, allocations: 24.91 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.6556, allocations: 50.41 kB / 0.9529 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6557, allocations: 0 / 0.9529 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002584/0.6559, allocations: 85.03 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.6559, allocations: 9.688 kB / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.656, allocations: 0 / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.656, allocations: 336 / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.6561, allocations: 11.55 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6561, allocations: 1.594 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.6562, allocations: 7.797 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.6562, allocations: 1.469 kB / 0.953 GB, free: 5.711 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,intLesThr.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 0.0001129/0.6564, allocations: 124.2 kB / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.6564, allocations: 11.19 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.6564, allocations: 7.906 kB / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6565, allocations: 1.312 kB / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.6565, allocations: 0 / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6565, allocations: 0 / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.6567, allocations: 180.2 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6567, allocations: 3.938 kB / 0.9534 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-05/0.6568, allocations: 11.89 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6568, allocations: 1.125 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6568, allocations: 3.938 kB / 0.9534 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6568, allocations: 5.094 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6568, allocations: 0 / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.6572, allocations: 179.9 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.6572, allocations: 83.33 kB / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.6573, allocations: 0 / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6574, allocations: 13.33 kB / 0.9536 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.6575, allocations: 11.73 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6575, allocations: 5.188 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.6575, allocations: 84.7 kB / 0.9537 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6575, allocations: 0 / 0.9537 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000258/0.6578, allocations: 14.47 kB / 0.9538 GB, free: 4.969 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 (intLesThr.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.0005757/0.6584, allocations: 0.7216 MB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.6587, allocations: 63 kB / 0.9545 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6587, allocations: 0 / 0.9545 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.6588, allocations: 34.09 kB / 0.9546 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.6592, allocations: 6.109 kB / 0.9546 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.6609, allocations: 1.323 MB / 0.9558 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.6612, allocations: 0.6881 MB / 0.9565 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.536e-05/0.6613, allocations: 7.125 kB / 0.9565 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.6614, allocations: 16.12 kB / 0.9565 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6614, allocations: 0 / 0.9565 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.6747, allocations: 1.659 MB / 0.9582 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.6749, allocations: 216.1 kB / 0.9584 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.59, allocations: 0 / 0.9584 GB, free: 1.137 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches