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.001831/0.001831, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002147/0.002148, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.44/2.44, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.91 kB / 0.812 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.8092, allocations: 140.3 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001936/0.8112, allocations: 0.736 MB / 0.9498 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.8126, allocations: 1.162 MB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.8127, allocations: 1.562 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.8127, allocations: 7.922 kB / 0.9509 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.8128, allocations: 5.406 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.8133, allocations: 131.3 kB / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.8135, allocations: 133.6 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.8137, allocations: 13.38 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.8138, allocations: 52.22 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.8139, allocations: 41.36 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.814, allocations: 8.469 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.8141, allocations: 24.69 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.8141, allocations: 20.44 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.8142, allocations: 45.44 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.8145, allocations: 123.6 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.8145, allocations: 11.98 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8145, allocations: 1.5 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8145, allocations: 0 / 0.9515 GB, free: 7.176 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.0007836/0.8153, allocations: 416.4 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.8154, allocations: 9.625 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.8154, allocations: 33.5 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.8155, allocations: 11.8 kB / 0.952 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.8159, allocations: 218.2 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.8159, allocations: 12.73 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.816, allocations: 9.219 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.8162, allocations: 94.41 kB / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8162, allocations: 0 / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.8162, allocations: 1.438 kB / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8162, allocations: 5.312 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.8163, allocations: 40.03 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.8169, allocations: 349.8 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.8171, allocations: 101.5 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.8171, allocations: 43.42 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.8172, allocations: 1.562 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.8174, allocations: 130.4 kB / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.8174, allocations: 0 / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004095/0.8178, allocations: 199.8 kB / 0.9531 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.8179, allocations: 63.36 kB / 0.9532 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.818, allocations: 107.5 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.818, allocations: 33.11 kB / 0.9533 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.818, allocations: 86.89 kB / 0.9534 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.8181, allocations: 41.25 kB / 0.9534 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.8182, allocations: 44.39 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.8182, allocations: 325.6 kB / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.8184, allocations: 49.44 kB / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.8185, allocations: 86.53 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.8187, allocations: 138.9 kB / 0.954 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8187, allocations: 1.219 kB / 0.954 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003272/0.819, allocations: 215.4 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.819, allocations: 32.45 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8191, allocations: 5.25 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8191, allocations: 2.906 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.8191, allocations: 10.88 kB / 0.9543 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.8192, allocations: 6.734 kB / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.8194, allocations: 35.06 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.8194, allocations: 7 kB / 0.9543 GB, free: 4.629 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.223e-05/0.8195, allocations: 139.5 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.8195, allocations: 3.625 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.8195, allocations: 9.875 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8196, allocations: 1.438 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8196, allocations: 1.562 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8196, allocations: 3.938 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.8199, allocations: 443.7 kB / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.82, allocations: 3.984 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.82, allocations: 4.219 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.82, allocations: 4 kB / 0.9549 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.82, allocations: 6.938 kB / 0.9549 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.82, allocations: 0 / 0.9549 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.82, allocations: 5.375 kB / 0.9549 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.8203, allocations: 260.6 kB / 0.9552 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.8203, allocations: 79.92 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.8204, allocations: 5.438 kB / 0.9553 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.8205, allocations: 11.98 kB / 0.9553 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.8205, allocations: 22.09 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.8205, allocations: 4.906 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.8206, allocations: 89.11 kB / 0.9554 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8206, allocations: 0 / 0.9554 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002783/0.8209, allocations: 36.69 kB / 0.9554 GB, free: 3.66 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.0005157/0.8214, allocations: 0.8006 MB / 0.9562 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.8217, allocations: 190.8 kB / 0.9564 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8217, allocations: 0 / 0.9564 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.8218, allocations: 75.62 kB / 0.9565 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.8221, allocations: 18.05 kB / 0.9565 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.8236, allocations: 1.721 MB / 0.9582 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.8238, allocations: 0.6899 MB / 0.9588 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.469e-05/0.8239, allocations: 13.11 kB / 0.9589 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.8239, allocations: 21.59 kB / 0.9589 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8239, allocations: 0 / 0.9589 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.8369, allocations: 2.517 MB / 0.9613 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.8372, allocations: 219.8 kB / 0.9615 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.673, allocations: 7.375 kB / 0.9616 GB, free: 15.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