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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 212 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 72.33 kB / 1.117 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3696, allocations: 169.9 MB / 1.283 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00226/0.3719, allocations: 0.7247 MB / 1.283 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3736, allocations: 1.098 MB / 1.284 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.3737, allocations: 0 / 1.284 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.3737, allocations: 7.875 kB / 1.284 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.931e-05/0.3738, allocations: 15.86 kB / 1.284 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.3743, allocations: 55.81 kB / 1.284 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.3744, allocations: 67.78 kB / 1.285 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3746, allocations: 16.16 kB / 1.285 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3747, allocations: 27.92 kB / 1.285 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.3748, allocations: 31.84 kB / 1.285 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.3748, allocations: 4 kB / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.3749, allocations: 23.98 kB / 1.285 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.3749, allocations: 19.97 kB / 1.285 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.375, allocations: 19.88 kB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3752, allocations: 79.91 kB / 1.285 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3752, allocations: 7.984 kB / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3752, allocations: 0 / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3752, allocations: 0 / 1.285 GB, free: 2.035 MB / 0.9825 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.0006586/0.3759, allocations: 306 kB / 1.285 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.3759, allocations: 8.031 kB / 1.285 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.376, allocations: 30.75 kB / 1.285 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.376, allocations: 12.89 kB / 1.285 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3762, allocations: 118.4 kB / 1.285 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3762, allocations: 8.375 kB / 1.285 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.3762, allocations: 8.312 kB / 1.285 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3765, allocations: 73.91 kB / 1.285 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3765, allocations: 0 / 1.285 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3765, allocations: 4 kB / 1.285 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3765, allocations: 0 / 1.285 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.3767, allocations: 43.95 kB / 1.285 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.3774, allocations: 287.7 kB / 1.286 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3776, allocations: 54.55 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3777, allocations: 28.97 kB / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.3777, allocations: 0 / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.378, allocations: 75.38 kB / 1.286 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.378, allocations: 4 kB / 1.286 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004603/0.3785, allocations: 137.6 kB / 1.286 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3785, allocations: 51.41 kB / 1.286 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3787, allocations: 125.8 kB / 1.286 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3787, allocations: 33.64 kB / 1.286 GB, free: 496 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.3788, allocations: 92.09 kB / 1.286 GB, free: 400 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.3788, allocations: 19.89 kB / 1.286 GB, free: 380 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3788, allocations: 25.7 kB / 1.286 GB, free: 348 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.379, allocations: 330.8 kB / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3791, allocations: 27.97 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3793, allocations: 73.98 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3795, allocations: 109.9 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3795, allocations: 0 / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003299/0.3798, allocations: 129.5 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3799, allocations: 4 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3799, allocations: 12.16 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3799, allocations: 0 / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.38, allocations: 19.92 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.38, allocations: 4 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.3801, allocations: 19.92 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.3801, allocations: 8 kB / 1.287 GB, free: 15.56 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 0.0001132/0.3802, allocations: 121.7 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.3803, allocations: 7.953 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3803, allocations: 12.36 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3803, allocations: 4 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3803, allocations: 4 kB / 1.287 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3803, allocations: 0 / 1.287 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.3808, allocations: 341.5 kB / 1.287 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3808, allocations: 0 / 1.287 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.3809, allocations: 7.984 kB / 1.287 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3809, allocations: 0 / 1.287 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3809, allocations: 4 kB / 1.287 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3809, allocations: 3.938 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3809, allocations: 4 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3812, allocations: 203.5 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.3812, allocations: 3.984 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3813, allocations: 4 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.3813, allocations: 11.92 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3814, allocations: 3.984 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3814, allocations: 8 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.3815, allocations: 95.2 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3815, allocations: 4 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002668/0.3817, allocations: 19.89 kB / 1.288 GB, free: 14.64 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.0007405/0.3825, allocations: 0.732 MB / 1.288 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.3828, allocations: 79.8 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3828, allocations: 4.375 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3829, allocations: 31.98 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3832, allocations: 30.3 kB / 1.289 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3852, allocations: 1.515 MB / 1.29 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.509e-05/0.3853, allocations: 75.33 kB / 1.29 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.3853, allocations: 4 kB / 1.29 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.3853, allocations: 23.42 kB / 1.29 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/0.3853, allocations: 0 / 1.29 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4163, allocations: 2.691 MB / 1.293 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 4 kB / 1.293 GB, free: 9.465 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.002 --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: 18.373530034907162]