Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001893/0.001893, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.82/0.8214, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003163/0.8246, allocations: 0.7687 MB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.826, allocations: 0.8292 MB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.8261, allocations: 1.375 kB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.8261, allocations: 7.922 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.8263, allocations: 1.375 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.8264, allocations: 24.09 kB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.8266, allocations: 41.73 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.8267, allocations: 22.86 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.8268, allocations: 18.73 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.8269, allocations: 26.78 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.8269, allocations: 2.75 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.8269, allocations: 2.75 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.827, allocations: 9.359 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.827, allocations: 14.62 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.8271, allocations: 44.09 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8271, allocations: 0 / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8272, allocations: 1.375 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.8272, allocations: 0 / 0.9508 GB, free: 7.812 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.0006123/0.8278, allocations: 364.8 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.8279, allocations: 8.25 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.8279, allocations: 32.12 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.828, allocations: 3.688 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.8281, allocations: 171 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.8281, allocations: 1.75 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8282, allocations: 7.125 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.8284, allocations: 75.41 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8285, allocations: 0 / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.8285, allocations: 1.375 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.8285, allocations: 0 / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.8288, allocations: 47.45 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.8294, allocations: 290.8 kB / 0.9518 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.8297, allocations: 67.52 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.8298, allocations: 34.53 kB / 0.9519 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.8299, allocations: 1.062 kB / 0.9519 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.8299, allocations: 36.06 kB / 0.9519 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.8299, allocations: 0 / 0.9519 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0006067/0.8305, allocations: 112.6 kB / 0.952 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.8306, allocations: 55.34 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.8307, allocations: 111 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.8307, allocations: 27.27 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.8308, allocations: 89.59 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.8308, allocations: 13 kB / 0.9523 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.8309, allocations: 21.62 kB / 0.9523 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.8309, allocations: 320.1 kB / 0.9526 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.8311, allocations: 21.3 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.8312, allocations: 24.28 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.8315, allocations: 54.25 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.8315, allocations: 4 kB / 0.9527 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003398/0.8319, allocations: 84.98 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.8319, allocations: 5.406 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8319, allocations: 3.984 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.8319, allocations: 1.438 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.8321, allocations: 11.77 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8321, allocations: 0 / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.8322, allocations: 4.281 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.8323, allocations: 9.453 kB / 0.9529 GB, free: 5.816 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,intLesEquThr.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 8.519e-05/0.8324, allocations: 121.2 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.8324, allocations: 5.406 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.8324, allocations: 9.219 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8325, allocations: 0 / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.8325, allocations: 1.25 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8325, allocations: 0 / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.8327, allocations: 175.3 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8327, allocations: 1.469 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.8328, allocations: 10.8 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8328, allocations: 5.188 kB / 0.9532 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.8329, allocations: 0 / 0.9532 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8329, allocations: 5 kB / 0.9532 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8329, allocations: 0 / 0.9532 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.8332, allocations: 187.5 kB / 0.9533 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.8333, allocations: 83.39 kB / 0.9534 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.8333, allocations: 7.984 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.8335, allocations: 5.125 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.8336, allocations: 11.83 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.8336, allocations: 1.312 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.8336, allocations: 89.19 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8336, allocations: 0 / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004233/0.8341, allocations: 15.38 kB / 0.9536 GB, free: 5.082 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 (intLesEquThr.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.0006481/0.8347, allocations: 0.7207 MB / 0.9543 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.8351, allocations: 58.72 kB / 0.9543 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8351, allocations: 0 / 0.9543 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.8353, allocations: 34.41 kB / 0.9543 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.8358, allocations: 3.438 kB / 0.9543 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.8377, allocations: 1.329 MB / 0.9556 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.8378, allocations: 0.6842 MB / 0.9563 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.8379, allocations: 3.625 kB / 0.9563 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.838, allocations: 17.95 kB / 0.9563 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.838, allocations: 0 / 0.9563 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.8525, allocations: 1.594 MB / 0.9579 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.8527, allocations: 216 kB / 0.9581 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.631, allocations: 2.75 kB / 0.9581 GB, free: 1.301 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches