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.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008288, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005472/0.005472, allocations: 171 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.254 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.482/2.482, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8227, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009848/0.8237, allocations: 437.4 kB / 0.9555 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.8246, allocations: 0.8239 MB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.8247, allocations: 4 kB / 0.9563 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.8247, allocations: 5.094 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.8248, allocations: 0 / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.825, allocations: 24.58 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.8251, allocations: 41.89 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.8252, allocations: 14.55 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.8253, allocations: 13.91 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.8254, allocations: 30.05 kB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.8254, allocations: 2.375 kB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.8254, allocations: 1.469 kB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.8254, allocations: 10.19 kB / 0.9564 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.8255, allocations: 40.12 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.578e-05/0.8256, allocations: 48.69 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8256, allocations: 0 / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8256, allocations: 0 / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8256, allocations: 0 / 0.9565 GB, free: 6.52 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.0004612/0.8261, allocations: 359.8 kB / 0.9568 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8261, allocations: 9.156 kB / 0.9568 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.8262, allocations: 6.781 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.8263, allocations: 164.1 kB / 0.957 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.8263, allocations: 1.562 kB / 0.957 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.8264, allocations: 6.375 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.8266, allocations: 83.27 kB / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.8266, allocations: 0 / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.8266, allocations: 0 / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8266, allocations: 1.188 kB / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.8268, allocations: 61.06 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.8272, allocations: 293.9 kB / 0.9574 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.8275, allocations: 72.78 kB / 0.9575 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8276, allocations: 39.64 kB / 0.9575 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.8276, allocations: 4.875 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.8276, allocations: 31.66 kB / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8276, allocations: 0 / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000454/0.8281, allocations: 123.7 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.8281, allocations: 52.34 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.8282, allocations: 122.2 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.8282, allocations: 26.64 kB / 0.9579 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.8283, allocations: 86.02 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.8283, allocations: 13.94 kB / 0.958 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.8283, allocations: 10.62 kB / 0.958 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.8284, allocations: 324.9 kB / 0.9583 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.8285, allocations: 25.58 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.735e-05/0.8286, allocations: 33.06 kB / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.8288, allocations: 63.56 kB / 0.9584 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8288, allocations: 0 / 0.9584 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002346/0.8291, allocations: 99.41 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8291, allocations: 6.5 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8291, allocations: 3.984 kB / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8291, allocations: 0 / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.8292, allocations: 18.7 kB / 0.9585 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.8293, allocations: 0 / 0.9585 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.8293, allocations: 11.16 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.8294, allocations: 10.16 kB / 0.9586 GB, free: 4.559 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 6.388e-05/0.8294, allocations: 115.6 kB / 0.9587 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.8295, allocations: 5.734 kB / 0.9587 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.8295, allocations: 9.688 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.8295, allocations: 0 / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8295, allocations: 1.844 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8295, allocations: 0 / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.8297, allocations: 176.5 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8297, allocations: 4 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.8298, allocations: 12.92 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8298, allocations: 1.344 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.8298, allocations: 0 / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8298, allocations: 1.344 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8298, allocations: 0 / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.8301, allocations: 201.4 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.8301, allocations: 78.27 kB / 0.9591 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.8301, allocations: 5.266 kB / 0.9592 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.8302, allocations: 10.16 kB / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.8303, allocations: 8.703 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.8303, allocations: 5.375 kB / 0.9592 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.8304, allocations: 92.42 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8304, allocations: 0 / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002218/0.8306, allocations: 7.062 kB / 0.9593 GB, free: 3.836 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.0001224/0.8307, allocations: 104.9 kB / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.831, allocations: 72.25 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.831, allocations: 1.312 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.8312, allocations: 38.09 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.8315, allocations: 6.625 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.8318, allocations: 142.5 kB / 0.9596 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.832, allocations: 0.6804 MB / 0.9603 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.832, allocations: 7.203 kB / 0.9603 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.8321, allocations: 14.78 kB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8321, allocations: 0 / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of Templates: time 0.003073/0.8351, allocations: 0.7625 MB / 0.961 GB, free: 2.445 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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