Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001299/0.001299, 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.001229/0.00123, allocations: 199.1 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.415/2.415, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6489, allocations: 140.4 MB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001835/0.6508, allocations: 0.6843 MB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000687/0.6515, allocations: 0.8476 MB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.6515, allocations: 1.375 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.6515, allocations: 0 / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.6516, allocations: 3.938 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.6518, allocations: 29.41 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.6518, allocations: 41.8 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.6519, allocations: 18.84 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.652, allocations: 22.8 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.6521, allocations: 22.8 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.6521, allocations: 4.125 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.6521, allocations: 4.125 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.6521, allocations: 13.3 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.6522, allocations: 20.05 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.305e-05/0.6522, allocations: 44.05 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6522, allocations: 0 / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6522, allocations: 0 / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6523, allocations: 1.375 kB / 0.9514 GB, free: 7.68 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.0003922/0.6527, allocations: 368.8 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6527, allocations: 9.531 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.6527, allocations: 31.91 kB / 0.9518 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.6528, allocations: 7.719 kB / 0.9518 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.6528, allocations: 175.7 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.6529, allocations: 1.75 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6529, allocations: 9.891 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.6531, allocations: 75.58 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.6531, allocations: 1.25 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.6531, allocations: 0 / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.6531, allocations: 1.094 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.6533, allocations: 47.27 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.6536, allocations: 291.7 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.6538, allocations: 64.33 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.6539, allocations: 33.97 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.6539, allocations: 0 / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.508e-06/0.6539, allocations: 32.22 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.6539, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000386/0.6543, allocations: 113.2 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/0.6544, allocations: 55.39 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.6544, allocations: 111.2 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.6544, allocations: 30.97 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.6545, allocations: 85.64 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.6545, allocations: 17.03 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.6545, allocations: 26.14 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.6546, allocations: 316.3 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.6547, allocations: 24.14 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.6547, allocations: 24.5 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.6549, allocations: 57.97 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6549, allocations: 0 / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002182/0.6552, allocations: 85.23 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6552, allocations: 5.344 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6552, allocations: 0 / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6552, allocations: 1.406 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.6553, allocations: 11.61 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.6553, allocations: 0 / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.6554, allocations: 8.703 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6554, allocations: 6 kB / 0.9535 GB, free: 5.672 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,intGreThr.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 4.854e-05/0.6555, allocations: 116.1 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.6555, allocations: 6.5 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.6555, allocations: 8.234 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6555, allocations: 1.312 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6555, allocations: 3.938 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6555, allocations: 9.188 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.6557, allocations: 175.9 kB / 0.9538 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6557, allocations: 0 / 0.9538 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.6558, allocations: 11.64 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6558, allocations: 4 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.6558, allocations: 1.281 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6558, allocations: 3.984 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6558, allocations: 1.062 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.656, allocations: 187.7 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.6561, allocations: 82.42 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.6561, allocations: 5.375 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.6562, allocations: 7.922 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.6562, allocations: 12.58 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.6562, allocations: 1.438 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.6563, allocations: 88.22 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6563, allocations: 1.5 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002139/0.6565, allocations: 9.531 kB / 0.9542 GB, free: 4.934 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 (intGreThr.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.0003793/0.6569, allocations: 0.7135 MB / 0.9549 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.6571, allocations: 58.67 kB / 0.9549 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6571, allocations: 3.938 kB / 0.9549 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.6572, allocations: 38.25 kB / 0.955 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6575, allocations: 7.25 kB / 0.955 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.6586, allocations: 1.318 MB / 0.9563 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.6587, allocations: 0.688 MB / 0.9569 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.6588, allocations: 3.812 kB / 0.957 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.6588, allocations: 23.45 kB / 0.957 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6588, allocations: 0 / 0.957 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.687, allocations: 1.798 MB / 0.9587 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.55, allocations: 13.5 kB / 0.9587 GB, free: 1.23 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches