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.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: "" <> 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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.371/2.371, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.91 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6874/0.689, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001735/0.6907, allocations: 0.6653 MB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.692, allocations: 1.164 MB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.6921, allocations: 1.281 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.6921, allocations: 3.938 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.6922, allocations: 9.391 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.6927, allocations: 141.6 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.6929, allocations: 152.8 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.693, allocations: 8.328 kB / 0.9518 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.6931, allocations: 50.03 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.6932, allocations: 59.8 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.6932, allocations: 14 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/0.6933, allocations: 26.98 kB / 0.952 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.6933, allocations: 20.48 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.6934, allocations: 52.52 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.6936, allocations: 132 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6936, allocations: 0 / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6936, allocations: 0 / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6936, allocations: 0 / 0.9522 GB, free: 7.293 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.0005214/0.6942, allocations: 425 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6942, allocations: 9.5 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.6942, allocations: 37.92 kB / 0.9526 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.6943, allocations: 11.56 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.6947, allocations: 217.9 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.6947, allocations: 8.312 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.6947, allocations: 18.11 kB / 0.9529 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.6949, allocations: 81.86 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6949, allocations: 4 kB / 0.9529 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.6949, allocations: 9.016 kB / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.695, allocations: 1.688 kB / 0.953 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.695, allocations: 36.44 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.6955, allocations: 350.3 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.6957, allocations: 97.61 kB / 0.9534 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.6958, allocations: 43.08 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.6958, allocations: 1.375 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.696, allocations: 126.8 kB / 0.9536 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.696, allocations: 0 / 0.9536 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004097/0.6964, allocations: 204.8 kB / 0.9538 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6965, allocations: 54.31 kB / 0.9538 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.6966, allocations: 111 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.6966, allocations: 37.03 kB / 0.954 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.6967, allocations: 91.91 kB / 0.9541 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.6967, allocations: 28.34 kB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.6968, allocations: 48.47 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6969, allocations: 325.5 kB / 0.9544 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.697, allocations: 49.23 kB / 0.9545 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.6972, allocations: 88.47 kB / 0.9546 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.6974, allocations: 141.7 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6974, allocations: 1.469 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003636/0.6978, allocations: 207.2 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.6978, allocations: 36 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6978, allocations: 1.375 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6979, allocations: 2.562 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.6979, allocations: 11.19 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.698, allocations: 2.594 kB / 0.955 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.6982, allocations: 39.44 kB / 0.955 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.6982, allocations: 11.52 kB / 0.955 GB, free: 4.742 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 0.0001046/0.6983, allocations: 134.3 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.6983, allocations: 13.61 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.6984, allocations: 8.5 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6984, allocations: 1.406 kB / 0.9552 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6984, allocations: 1.469 kB / 0.9552 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6984, allocations: 4 kB / 0.9552 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.6988, allocations: 440.4 kB / 0.9556 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6989, allocations: 0 / 0.9556 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.6989, allocations: 7.75 kB / 0.9556 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6989, allocations: 0 / 0.9556 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.6989, allocations: 6.828 kB / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6989, allocations: 0 / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6989, allocations: 0 / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.6993, allocations: 270.4 kB / 0.9558 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.6993, allocations: 88.25 kB / 0.9559 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.6994, allocations: 6.375 kB / 0.9559 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.6995, allocations: 7.609 kB / 0.9559 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.6995, allocations: 14.02 kB / 0.956 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.6996, allocations: 13.67 kB / 0.956 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.6996, allocations: 92.23 kB / 0.9561 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6996, allocations: 0 / 0.9561 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002871/0.6999, allocations: 39.83 kB / 0.9561 GB, free: 3.762 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.0004754/0.7004, allocations: 0.8026 MB / 0.9569 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.7007, allocations: 190.8 kB / 0.9571 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7007, allocations: 1.562 kB / 0.9571 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.7009, allocations: 74.64 kB / 0.9571 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.7011, allocations: 20.39 kB / 0.9572 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.7026, allocations: 1.704 MB / 0.9588 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.7027, allocations: 0.6938 MB / 0.9595 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.331e-05/0.7028, allocations: 14.05 kB / 0.9595 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.7028, allocations: 20.94 kB / 0.9595 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7028, allocations: 1.375 kB / 0.9595 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.7229, allocations: 2.739 MB / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.431, allocations: 13.36 kB / 0.9622 GB, free: 15.19 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