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.0009038/0.0009038, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009448/0.0009448, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9117/0.9117, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.638/1.638, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.721e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00124/0.001257, allocations: 0.7468 MB / 0.9512 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.002349, allocations: 1.085 MB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.002394, allocations: 3.938 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.002421, allocations: 3.938 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.002494, allocations: 23.86 kB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.002764, allocations: 43.83 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.002868, allocations: 83.62 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.002966, allocations: 12.19 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.003044, allocations: 35.97 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.00309, allocations: 27.89 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.003106, allocations: 8 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.003155, allocations: 19.98 kB / 0.9525 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.003176, allocations: 15.91 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.003203, allocations: 16 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.003333, allocations: 83.73 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003335, allocations: 4 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003336, allocations: 0 / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003341, allocations: 3.984 kB / 0.9527 GB, free: 1.23 MB / 0.9011 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.0003911/0.003732, allocations: 302 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.003768, allocations: 15.97 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.003805, allocations: 30.75 kB / 0.953 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.003831, allocations: 8.891 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.715e-05/0.003908, allocations: 129.6 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003918, allocations: 4.375 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.003928, allocations: 8.375 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.004059, allocations: 70.17 kB / 0.9532 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.004069, allocations: 4.172 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.004077, allocations: 384 / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.004084, allocations: 3.938 kB / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.004172, allocations: 43.91 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.004574, allocations: 279.9 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.004681, allocations: 50.5 kB / 0.9536 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.00473, allocations: 32.95 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.004752, allocations: 4.031 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.004875, allocations: 79.33 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.004875, allocations: 0 / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0002698/0.005145, allocations: 137.6 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.00518, allocations: 51.41 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.005255, allocations: 133.7 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.005268, allocations: 29.7 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.005309, allocations: 88.14 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.005324, allocations: 19.84 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.00536, allocations: 25.7 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.005437, allocations: 318.8 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.005494, allocations: 31.97 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.005567, allocations: 81.92 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.005691, allocations: 105.9 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005693, allocations: 4 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001742/0.005867, allocations: 133.4 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005879, allocations: 4 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.005884, allocations: 4 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.005897, allocations: 4 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.005968, allocations: 20.2 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.005974, allocations: 11.94 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.006016, allocations: 15.88 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.006025, allocations: 4 kB / 0.9549 GB, free: 14.75 MB / 0.9167 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.214e-05/0.006088, allocations: 121.8 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.006095, allocations: 7.953 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.006118, allocations: 12.42 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006119, allocations: 0 / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006123, allocations: 0 / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006126, allocations: 3.938 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.006403, allocations: 345.8 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.006404, allocations: 0 / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.006428, allocations: 7.984 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.00643, allocations: 0 / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.006436, allocations: 0 / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006438, allocations: 4 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006439, allocations: 0 / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.006594, allocations: 219.4 kB / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.006601, allocations: 3.953 kB / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-06/0.006611, allocations: 0 / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.006654, allocations: 7.984 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.006687, allocations: 7.984 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.006694, allocations: 3.938 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.006733, allocations: 103.2 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006733, allocations: 0 / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001724/0.006905, allocations: 15.94 kB / 0.9557 GB, free: 13.82 MB / 0.9167 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.0003594/0.007265, allocations: 0.7514 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.007424, allocations: 71.88 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007426, allocations: 0 / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.007482, allocations: 27.98 kB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.007672, allocations: 24.36 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.008764, allocations: 1.513 MB / 0.958 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.932e-05/0.008813, allocations: 82.14 kB / 0.9581 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.00884, allocations: 11.92 kB / 0.9581 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.00888, allocations: 20.5 kB / 0.9581 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.00888, allocations: 0 / 0.9581 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.0276, allocations: 2.841 MB / 0.9609 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.815, allocations: 2.5 kB / 0.9609 GB, free: 8.523 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.781160444952548]