Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008466/0.0008466, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8907/0.8907, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.747/1.747, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.317e-06/3.317e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.69e-05, allocations: 4.953 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002947/0.002974, allocations: 1.975 MB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.004711, allocations: 1.294 MB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.004863, allocations: 0 / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.005341, allocations: 167.3 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.005789, allocations: 211 kB / 0.9845 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.006116, allocations: 163.5 kB / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.006464, allocations: 343 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.006616, allocations: 28.91 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.00683, allocations: 195.4 kB / 0.9852 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.007001, allocations: 139.6 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.00703, allocations: 16 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.007149, allocations: 67.91 kB / 0.9854 GB, free: 13.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.007239, allocations: 95.67 kB / 0.9855 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.007308, allocations: 71.7 kB / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.007673, allocations: 382.7 kB / 0.986 GB, free: 13.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.007677, allocations: 0 / 0.986 GB, free: 13.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.007678, allocations: 0 / 0.986 GB, free: 13.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.007685, allocations: 0 / 0.986 GB, free: 13.43 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008325/0.008517, allocations: 0.5779 MB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.008561, allocations: 8.031 kB / 0.9865 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.008598, allocations: 46.73 kB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.008665, allocations: 40.7 kB / 0.9866 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.009053, allocations: 316.1 kB / 0.9869 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.009072, allocations: 11.94 kB / 0.9869 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.009086, allocations: 8 kB / 0.9869 GB, free: 12.37 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.009286, allocations: 116.5 kB / 0.987 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.009295, allocations: 0 / 0.987 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.009308, allocations: 4 kB / 0.987 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.009315, allocations: 7.938 kB / 0.9871 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.009433, allocations: 59.95 kB / 0.9871 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.01003, allocations: 463.5 kB / 0.9876 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.01026, allocations: 134.7 kB / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.01033, allocations: 48.77 kB / 0.9877 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01035, allocations: 4 kB / 0.9877 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.01052, allocations: 107.3 kB / 0.9878 GB, free: 11.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.01052, allocations: 0 / 0.9878 GB, free: 11.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0003729/0.01089, allocations: 247.7 kB / 0.9881 GB, free: 11.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.01093, allocations: 51.41 kB / 0.9881 GB, free: 11.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.01133, allocations: 0.5366 MB / 0.9886 GB, free: 10.51 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01135, allocations: 29.7 kB / 0.9887 GB, free: 10.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.01145, allocations: 168.5 kB / 0.9888 GB, free: 10.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.01148, allocations: 39.69 kB / 0.9889 GB, free: 10.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.01156, allocations: 69.95 kB / 0.9889 GB, free: 10.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.01166, allocations: 350.8 kB / 0.9893 GB, free: 9.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.01178, allocations: 100.5 kB / 0.9894 GB, free: 9.742 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.01221, allocations: 140.8 kB / 0.9895 GB, free: 9.598 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.01244, allocations: 191.5 kB / 0.9897 GB, free: 9.402 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01244, allocations: 0 / 0.9897 GB, free: 9.402 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003473/0.01279, allocations: 341.2 kB / 0.99 GB, free: 9.062 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.01281, allocations: 4 kB / 0.99 GB, free: 9.059 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01281, allocations: 0 / 0.99 GB, free: 9.059 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.01283, allocations: 7.938 kB / 0.99 GB, free: 9.051 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.01297, allocations: 51.97 kB / 0.9901 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01298, allocations: 4 kB / 0.9901 GB, free: 8.996 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.01306, allocations: 23.88 kB / 0.9901 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.01309, allocations: 12 kB / 0.9901 GB, free: 8.961 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001406/0.01323, allocations: 178.5 kB / 0.9903 GB, free: 8.777 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.01326, allocations: 35.77 kB / 0.9903 GB, free: 8.742 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.01357, allocations: 207.4 kB / 0.9905 GB, free: 8.539 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01358, allocations: 11.94 kB / 0.9905 GB, free: 8.527 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01359, allocations: 0 / 0.9905 GB, free: 8.527 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.01359, allocations: 7.969 kB / 0.9905 GB, free: 8.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.01378, allocations: 260.6 kB / 0.9908 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01379, allocations: 4 kB / 0.9908 GB, free: 8.219 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.01383, allocations: 12 kB / 0.9908 GB, free: 8.207 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01384, allocations: 3.984 kB / 0.9908 GB, free: 8.203 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01385, allocations: 4 kB / 0.9908 GB, free: 8.199 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.01385, allocations: 3.938 kB / 0.9908 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01385, allocations: 3.938 kB / 0.9908 GB, free: 8.191 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.01409, allocations: 224.8 kB / 0.991 GB, free: 7.953 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.01414, allocations: 47.69 kB / 0.9911 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.01416, allocations: 8 kB / 0.9911 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.01421, allocations: 15.86 kB / 0.9911 GB, free: 7.883 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.01428, allocations: 23.97 kB / 0.9911 GB, free: 7.859 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01429, allocations: 4 kB / 0.9911 GB, free: 7.855 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002293/0.01452, allocations: 327.1 kB / 0.9914 GB, free: 7.539 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01452, allocations: 0 / 0.9914 GB, free: 7.539 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000225/0.01475, allocations: 59.92 kB / 0.9915 GB, free: 7.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001198/0.01594, allocations: 1.097 MB / 0.9926 GB, free: 6.543 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.01623, allocations: 187.8 kB / 0.9927 GB, free: 6.359 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01624, allocations: 0 / 0.9927 GB, free: 6.359 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.01632, allocations: 71.89 kB / 0.9928 GB, free: 6.289 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.01663, allocations: 93.14 kB / 0.9929 GB, free: 6.207 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.01941, allocations: 3.241 MB / 0.9961 GB, free: 2.867 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.01953, allocations: 179.8 kB / 0.9962 GB, free: 2.676 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.01966, allocations: 62.88 kB / 0.9963 GB, free: 2.613 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.01979, allocations: 120.4 kB / 0.9964 GB, free: 2.496 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/0.01979, allocations: 4 kB / 0.9964 GB, free: 2.492 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.04252, allocations: 8.488 MB / 1.005 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.777, allocations: 10.12 kB / 1.005 GB, free: 10.12 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.890651879832149]