Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 112.1 kB / 17.54 MB, free: 4.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.524/2.524, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.8088, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001667/0.8105, allocations: 0.7696 MB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.8116, allocations: 1.076 MB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.8116, allocations: 0.8438 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.8116, allocations: 9.391 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.8117, allocations: 15.06 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.812, allocations: 54.86 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.8121, allocations: 65.69 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.8122, allocations: 16.16 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.8122, allocations: 26.66 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.8123, allocations: 36.92 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.8123, allocations: 9.625 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.8124, allocations: 24.41 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.8124, allocations: 13.95 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.8124, allocations: 34.52 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.8126, allocations: 81.12 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8126, allocations: 1.031 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8126, allocations: 0 / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5e-06/0.8126, allocations: 0 / 1.274 GB, free: 6.227 MB / 0.9981 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.0004595/0.8131, allocations: 379.8 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8131, allocations: 18.31 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.8131, allocations: 33.86 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.8132, allocations: 8.578 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.224e-05/0.8133, allocations: 179.2 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8133, allocations: 6.156 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.8133, allocations: 5 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.8135, allocations: 69.98 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.8135, allocations: 0.8125 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.8135, allocations: 4.688 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.8135, allocations: 7.953 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.8137, allocations: 42.95 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.8142, allocations: 317.8 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.8144, allocations: 57.86 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.8144, allocations: 27.06 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.8145, allocations: 5.234 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.8146, allocations: 80.91 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.8146, allocations: 0 / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003964/0.815, allocations: 134.8 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.8151, allocations: 52.97 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.8151, allocations: 121.5 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.8152, allocations: 27.69 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.8152, allocations: 100.9 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.8152, allocations: 13.41 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.8153, allocations: 28.27 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.539e-05/0.8153, allocations: 329.7 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.8154, allocations: 28.83 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.8155, allocations: 74.41 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.8157, allocations: 108 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8157, allocations: 0 / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002793/0.816, allocations: 135 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.816, allocations: 5.531 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.816, allocations: 5.562 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.8161, allocations: 2.812 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.8162, allocations: 21.16 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.8162, allocations: 6.75 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.8163, allocations: 12 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.8163, allocations: 8.281 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.303e-05/0.8164, allocations: 131.2 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.8164, allocations: 9.391 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.381e-05/0.8164, allocations: 9.906 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8164, allocations: 0.6875 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8164, allocations: 1.281 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8164, allocations: 4 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.8168, allocations: 372.3 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8168, allocations: 0 / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.8168, allocations: 9.438 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8168, allocations: 0.7812 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.8168, allocations: 0.9375 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8168, allocations: 4.656 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8168, allocations: 0 / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.8171, allocations: 208.1 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.8171, allocations: 83.03 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.8171, allocations: 6.469 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.8172, allocations: 10.53 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.8172, allocations: 4.953 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.8172, allocations: 5.594 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.8173, allocations: 96.19 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8173, allocations: 0 / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002372/0.8175, allocations: 18.09 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004263/0.8179, allocations: 0.7459 MB / 1.278 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.8182, allocations: 73.7 kB / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.8182, allocations: 0 / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.8183, allocations: 35.19 kB / 1.278 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.8186, allocations: 20.44 kB / 1.278 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.82, allocations: 1.517 MB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.8203, allocations: 0.6978 MB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.8203, allocations: 4.594 kB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.8204, allocations: 30.3 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.8204, allocations: 0 / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.8434, allocations: 2.085 MB / 1.282 GB, free: 16.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/7.665, allocations: 4.312 kB / 1.282 GB, free: 16.1 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.01450094000029]