Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.000744/0.0007444, allocations: 90.83 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.005019/0.005019, allocations: 171.8 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.324/2.324, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004235, allocations: 16.28 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.8331, allocations: 142.4 MB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001047/0.8342, allocations: 396.3 kB / 0.9556 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.8357, allocations: 1.164 MB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.8357, allocations: 0 / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.8358, allocations: 0.9688 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.8359, allocations: 12.8 kB / 0.9567 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.8364, allocations: 131.3 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.8366, allocations: 125.8 kB / 0.957 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.8367, allocations: 8.531 kB / 0.957 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.8368, allocations: 49.05 kB / 0.957 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.8369, allocations: 45.28 kB / 0.9571 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.837, allocations: 10.94 kB / 0.9571 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.8371, allocations: 24.58 kB / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.8371, allocations: 17.09 kB / 0.9571 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.8372, allocations: 71.2 kB / 0.9572 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.8374, allocations: 132 kB / 0.9573 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.8374, allocations: 0 / 0.9573 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8374, allocations: 0 / 0.9573 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8374, allocations: 0 / 0.9573 GB, free: 6.062 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005855/0.838, allocations: 401.7 kB / 0.9577 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.8381, allocations: 9 kB / 0.9577 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.8381, allocations: 32.78 kB / 0.9577 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.8382, allocations: 12.52 kB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.8386, allocations: 214.8 kB / 0.9579 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.8386, allocations: 7.938 kB / 0.958 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.8386, allocations: 15.11 kB / 0.958 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.8388, allocations: 88.92 kB / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.8388, allocations: 3.984 kB / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.8389, allocations: 5.219 kB / 0.9581 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8389, allocations: 1.062 kB / 0.9581 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.839, allocations: 36.25 kB / 0.9581 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.8395, allocations: 365.2 kB / 0.9584 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.8397, allocations: 97.09 kB / 0.9585 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.8398, allocations: 39.41 kB / 0.9586 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.8398, allocations: 1.406 kB / 0.9586 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.8401, allocations: 138.9 kB / 0.9587 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.8401, allocations: 0 / 0.9587 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004003/0.8405, allocations: 193.2 kB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.8405, allocations: 58.48 kB / 0.959 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.8406, allocations: 114.7 kB / 0.9591 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.8406, allocations: 34.3 kB / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.8407, allocations: 86.89 kB / 0.9592 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.8407, allocations: 36.27 kB / 0.9592 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.8408, allocations: 25.47 kB / 0.9592 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.8408, allocations: 320.1 kB / 0.9595 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.8409, allocations: 50.5 kB / 0.9596 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.8411, allocations: 92.97 kB / 0.9597 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.8412, allocations: 137.5 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8413, allocations: 1.375 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003088/0.8416, allocations: 212 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.8416, allocations: 40.52 kB / 0.9601 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.8416, allocations: 5.375 kB / 0.9601 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8416, allocations: 6.875 kB / 0.9601 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.8417, allocations: 10.86 kB / 0.9601 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.8417, allocations: 2.75 kB / 0.9601 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.8419, allocations: 36.84 kB / 0.9601 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.842, allocations: 12.25 kB / 0.9601 GB, free: 3.539 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.951e-05/0.8421, allocations: 137.9 kB / 0.9603 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.8421, allocations: 13.41 kB / 0.9603 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.8421, allocations: 8.5 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8422, allocations: 2.75 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8422, allocations: 0 / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.8422, allocations: 3.984 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.8426, allocations: 443.7 kB / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.8426, allocations: 1.375 kB / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.8426, allocations: 4.125 kB / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8426, allocations: 0 / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.8426, allocations: 2.75 kB / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8426, allocations: 0 / 0.9607 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.8426, allocations: 5.359 kB / 0.9607 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.8429, allocations: 255.6 kB / 0.961 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.8429, allocations: 82.33 kB / 0.961 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.843, allocations: 10.8 kB / 0.9611 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.843, allocations: 13.47 kB / 0.9611 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.8431, allocations: 21.06 kB / 0.9611 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.8431, allocations: 9.906 kB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.8432, allocations: 93.66 kB / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8432, allocations: 0 / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002739/0.8434, allocations: 32 kB / 0.9612 GB, free: 2.566 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005394/0.844, allocations: 0.8054 MB / 0.962 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.8443, allocations: 202.1 kB / 0.9622 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8443, allocations: 1.031 kB / 0.9622 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.8445, allocations: 66.75 kB / 0.9623 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.8448, allocations: 23.2 kB / 0.9623 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.8465, allocations: 1.715 MB / 0.964 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.8468, allocations: 0.6911 MB / 0.9646 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.8469, allocations: 5.594 kB / 0.9646 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.8469, allocations: 29.39 kB / 0.9647 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of SimCode: time 1.412e-06/0.8469, allocations: 0 / 0.9647 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.8606, allocations: 2.441 MB / 0.967 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.8609, allocations: 221.6 kB / 0.9673 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.661, allocations: 4 kB / 0.9673 GB, free: 14.02 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time