Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",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.0246/0.0246, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.002862/0.002862, allocations: 197.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.786/2.786, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.256/5.256, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002828/0.002829, allocations: 71.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6042, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.004428/0.6087, allocations: 0.7505 MB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.6119, allocations: 1.077 MB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.612, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.96e-05/0.6121, allocations: 7.938 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.6123, allocations: 11.88 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.6129, allocations: 55.81 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.6131, allocations: 67.78 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.6133, allocations: 24.16 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.6135, allocations: 27.92 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.6137, allocations: 35.84 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.6137, allocations: 12 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.6139, allocations: 19.92 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.6139, allocations: 19.91 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.614, allocations: 23.88 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.6144, allocations: 83.95 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.6144, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.657e-06/0.6144, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.6144, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 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.0009626/0.6154, allocations: 383.2 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/0.6155, allocations: 12.03 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.6156, allocations: 38.73 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.6156, allocations: 4.891 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.6159, allocations: 176.2 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.6159, allocations: 8.375 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.616, allocations: 4.375 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.6163, allocations: 69.97 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.6163, allocations: 0 / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6163, allocations: 0 / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.6164, allocations: 4 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.6166, allocations: 47.89 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.6177, allocations: 324.6 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.618, allocations: 62.55 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.6182, allocations: 28.95 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.6182, allocations: 4 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000371/0.6186, allocations: 83.3 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.6186, allocations: 0 / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006643/0.6193, allocations: 125.6 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.6194, allocations: 59.39 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.6196, allocations: 121.7 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.6196, allocations: 33.7 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.6197, allocations: 88.12 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.6198, allocations: 15.89 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.6199, allocations: 29.7 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.6201, allocations: 330.8 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.6203, allocations: 27.92 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.6205, allocations: 69.98 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.6209, allocations: 105.9 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.621, allocations: 0 / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005612/0.6215, allocations: 137.4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.6216, allocations: 11.98 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6216, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.6217, allocations: 4 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.6219, allocations: 19.98 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.6219, allocations: 224 / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.6221, allocations: 27.88 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.6221, allocations: 7.938 kB / 1.171 GB, free: 2.406 MB / 0.92 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 0.0001747/0.6223, allocations: 121.7 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.6224, allocations: 11.94 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.6224, allocations: 8.375 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6224, allocations: 4 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6225, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6225, allocations: 3.984 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.6233, allocations: 374.4 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6234, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.6235, allocations: 7.984 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.6235, allocations: 0 / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.6236, allocations: 0 / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.6236, allocations: 7.938 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6236, allocations: 0 / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.6241, allocations: 207.8 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.6242, allocations: 85.06 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.6242, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.6244, allocations: 11.92 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.6245, allocations: 3.984 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.6245, allocations: 4 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001109/0.6246, allocations: 99.27 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6246, allocations: 3.938 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004725/0.6251, allocations: 19.94 kB / 1.172 GB, free: 1.352 MB / 0.92 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.001001/0.6261, allocations: 0.7476 MB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.6266, allocations: 75.88 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6266, allocations: 0 / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.6268, allocations: 27.98 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.6273, allocations: 20.36 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.6302, allocations: 1.512 MB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.6308, allocations: 0.6885 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.349e-05/0.6309, allocations: 12 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.631, allocations: 23.42 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.631, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07223/0.7032, allocations: 2.117 MB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.19, allocations: 12.05 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches