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.00124/0.00124, 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.001122/0.001122, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.265/2.265, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 67.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6086, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002064/0.6107, allocations: 0.6954 MB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.6116, allocations: 0.8387 MB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.6116, allocations: 1.375 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.6117, allocations: 3.938 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.6118, allocations: 9.297 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.6119, allocations: 24.05 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.612, allocations: 43.16 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.6121, allocations: 17.5 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.6122, allocations: 22.81 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.6123, allocations: 26.84 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.6123, allocations: 4.219 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.6123, allocations: 4.312 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.6123, allocations: 13.17 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.6124, allocations: 12.81 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.6125, allocations: 51.41 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6125, allocations: 0 / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6125, allocations: 1.25 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6125, allocations: 0 / 0.9515 GB, free: 7.766 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.0004809/0.613, allocations: 365 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.613, allocations: 13.5 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.6131, allocations: 36.25 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.6131, allocations: 2.625 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.6132, allocations: 176.2 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.6132, allocations: 1.969 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.6133, allocations: 5.438 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.6134, allocations: 72.31 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6135, allocations: 0 / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.6135, allocations: 0.9688 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.6135, allocations: 0.875 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.6137, allocations: 50.53 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.614, allocations: 295.7 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.6143, allocations: 60.05 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6144, allocations: 30.91 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6144, allocations: 1.219 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.6144, allocations: 34.56 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.6144, allocations: 1.219 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004105/0.6148, allocations: 112.1 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.6149, allocations: 52.59 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.615, allocations: 114.4 kB / 0.9528 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.615, allocations: 27.08 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.615, allocations: 89.22 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.615, allocations: 13.28 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.6151, allocations: 22.44 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.6152, allocations: 319.9 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.6153, allocations: 20.33 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.6154, allocations: 28.81 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.6155, allocations: 59.11 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6156, allocations: 0 / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002304/0.6158, allocations: 84.16 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6158, allocations: 9.453 kB / 0.9535 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6158, allocations: 0 / 0.9535 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6159, allocations: 1.531 kB / 0.9535 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.616, allocations: 10.67 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.616, allocations: 1.562 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.6161, allocations: 12.17 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.6161, allocations: 1.5 kB / 0.9535 GB, free: 5.762 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 7.047e-05/0.6162, allocations: 120.1 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.6162, allocations: 6.75 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.6162, allocations: 9.344 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6162, allocations: 0 / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6162, allocations: 0 / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6163, allocations: 4.844 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.6164, allocations: 175.4 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6164, allocations: 1.281 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.6165, allocations: 19.45 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6165, allocations: 0 / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.6165, allocations: 0.7812 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6166, allocations: 1 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6166, allocations: 0 / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.6168, allocations: 180.6 kB / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.6169, allocations: 90.5 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.6169, allocations: 4 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.617, allocations: 4.812 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.6171, allocations: 11.58 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.6171, allocations: 1.375 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.6172, allocations: 93.62 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6172, allocations: 0 / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002214/0.6174, allocations: 10.47 kB / 0.9542 GB, free: 5.027 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.0005581/0.618, allocations: 0.713 MB / 0.9549 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.6183, allocations: 58.62 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6183, allocations: 0 / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.6184, allocations: 42.62 kB / 0.955 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.6188, allocations: 8.516 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.6201, allocations: 1.314 MB / 0.9563 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.6203, allocations: 0.6889 MB / 0.957 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.6203, allocations: 2.875 kB / 0.957 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.6204, allocations: 23.84 kB / 0.957 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6204, allocations: 0 / 0.957 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0664/0.6868, allocations: 1.81 MB / 0.9587 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.226, allocations: 1.75 kB / 0.9587 GB, free: 1.309 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