Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 103 kB / 16.41 MB, free: 6.516 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.00169/0.00169, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.408/1.408, 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.34/2.34, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 75.88 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8168, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001751/0.8186, allocations: 0.7106 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008675/0.8194, allocations: 0.8395 MB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.8195, allocations: 5 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.8196, allocations: 4.594 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.8196, allocations: 5.953 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.8198, allocations: 25.94 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.041e-05/0.8199, allocations: 40.81 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.82, allocations: 20.36 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.8201, allocations: 22.97 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.8202, allocations: 24.94 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.8202, allocations: 4.375 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.8202, allocations: 4.375 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.8202, allocations: 11.61 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.8203, allocations: 18.91 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.8204, allocations: 46.23 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8204, allocations: 0.75 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8204, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8204, allocations: 4 kB / 1.09 GB, free: 4.309 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.0004676/0.8209, allocations: 351.2 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8209, allocations: 9.656 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.821, allocations: 5.938 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.701e-05/0.8211, allocations: 176.8 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8211, allocations: 2.422 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.8211, allocations: 3.156 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.8213, allocations: 72.89 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.8213, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8214, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.8214, allocations: 1.094 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.8216, allocations: 52.25 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.822, allocations: 294.6 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.8222, allocations: 61.47 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.8223, allocations: 36.75 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.8223, allocations: 0 / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.8224, allocations: 32.33 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.8224, allocations: 1.031 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004498/0.8228, allocations: 112.8 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.8229, allocations: 52.28 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.8229, allocations: 107.8 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.8229, allocations: 25.7 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.823, allocations: 91.97 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.823, allocations: 14.39 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.8231, allocations: 19.62 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.8231, allocations: 325.9 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.8232, allocations: 26.61 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.8233, allocations: 26.73 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.8235, allocations: 50.05 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8236, allocations: 3.938 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002477/0.8238, allocations: 87.88 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8238, allocations: 5.609 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8238, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.8239, allocations: 1.188 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.824, allocations: 11.33 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.824, allocations: 1.188 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.8241, allocations: 11.31 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.8241, allocations: 1.578 kB / 1.092 GB, free: 2.516 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,intGreEquThr.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.02e-05/0.8242, allocations: 121.6 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.8242, allocations: 5.922 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.8242, allocations: 6.078 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8242, allocations: 1.219 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8242, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8242, allocations: 0.6562 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.8244, allocations: 179.2 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8244, allocations: 0 / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.8245, allocations: 16.12 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8245, allocations: 0 / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8245, allocations: 5.828 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8245, allocations: 0.6094 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8245, allocations: 1.094 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.8248, allocations: 182.3 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.8248, allocations: 79.91 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.8249, allocations: 1.547 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.825, allocations: 11.25 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.825, allocations: 10.98 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.8251, allocations: 2.109 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.8251, allocations: 87.48 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8251, allocations: 0.7812 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002328/0.8253, allocations: 9.781 kB / 1.093 GB, free: 1.836 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 (intGreEquThr.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.0001204/0.8255, allocations: 108 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.8258, allocations: 59.75 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8258, allocations: 0 / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.8259, allocations: 33.19 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.8262, allocations: 7.719 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.8266, allocations: 163.2 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.8268, allocations: 0.6891 MB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.8268, allocations: 12.5 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.8268, allocations: 0 / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of Templates: time 0.002733/0.8296, allocations: 0.8073 MB / 1.095 GB, free: 0.8047 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches