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.001323/0.001323, allocations: 109 kB / 16.41 MB, free: 6.5 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.001198/0.001199, allocations: 183 kB / 17.34 MB, free: 5.762 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 71.83 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8213/0.8229, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001869/0.8248, allocations: 0.7047 MB / 1.089 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.8257, allocations: 0.8367 MB / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.8258, allocations: 1.094 kB / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.8258, allocations: 4.734 kB / 1.09 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.8259, allocations: 13.77 kB / 1.09 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.8261, allocations: 21.94 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.8262, allocations: 40.23 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.8263, allocations: 21.64 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.8264, allocations: 25.5 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.8265, allocations: 21.39 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.8265, allocations: 4.344 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.8265, allocations: 4.375 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.8265, allocations: 15.52 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.8266, allocations: 14.72 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.8267, allocations: 51.31 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8267, allocations: 5 kB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8267, allocations: 0 / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8267, allocations: 0 / 1.09 GB, free: 4.578 MB / 0.8575 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.000471/0.8272, allocations: 347.3 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.8272, allocations: 9.656 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.8273, allocations: 8.125 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.8274, allocations: 172.3 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.8274, allocations: 6.562 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.8274, allocations: 2.594 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.8276, allocations: 72.08 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8277, allocations: 0 / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8277, allocations: 5.062 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8277, allocations: 1.062 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.8279, allocations: 51.84 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.8283, allocations: 295.9 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.8285, allocations: 61.73 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.8286, allocations: 33.19 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.8287, allocations: 1.094 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.8287, allocations: 31.62 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8287, allocations: 0 / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004252/0.8291, allocations: 114.5 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.8292, allocations: 52.16 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.8292, allocations: 106.5 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.8293, allocations: 26.92 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.8293, allocations: 90.73 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.8293, allocations: 10.56 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.8294, allocations: 22.83 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.8294, allocations: 318.6 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.8295, allocations: 26.59 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.8296, allocations: 23.69 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.8299, allocations: 49.19 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8299, allocations: 5 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002511/0.8301, allocations: 90.61 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8301, allocations: 5.625 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8302, allocations: 0.5156 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8302, allocations: 0.75 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.8303, allocations: 15.78 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8303, allocations: 0.7812 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.8304, allocations: 15.64 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.8304, allocations: 5.625 kB / 1.092 GB, free: 2.777 MB / 0.8575 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 7.387e-05/0.8305, allocations: 117.5 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.8305, allocations: 2.109 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.8306, allocations: 6.172 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8306, allocations: 0.7812 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8306, allocations: 0 / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.8306, allocations: 1.406 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.8307, allocations: 177.8 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8307, allocations: 0.5625 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.8308, allocations: 20.08 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8308, allocations: 0.7188 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.8309, allocations: 1.422 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8309, allocations: 0.7812 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.8309, allocations: 0 / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.8311, allocations: 188.2 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.8312, allocations: 78.78 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.8312, allocations: 5.75 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.8313, allocations: 6.859 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.8314, allocations: 12.2 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.8314, allocations: 1.922 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.8314, allocations: 91.67 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8314, allocations: 0 / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002164/0.8316, allocations: 10.81 kB / 1.093 GB, free: 2.098 MB / 0.8575 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.0001177/0.8318, allocations: 106.8 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.832, allocations: 56.02 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8321, allocations: 0 / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.8322, allocations: 29.16 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.8324, allocations: 9.828 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.8328, allocations: 170.9 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.833, allocations: 0.6852 MB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.833, allocations: 11.55 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.833, allocations: 0 / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.002555/0.8356, allocations: 0.8102 MB / 1.095 GB, free: 1.066 MB / 0.8575 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/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