Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008152/0.0008152, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008615/0.0008615, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8538/0.8538, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.587e-06/3.587e-06, allocations: 3.984 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.937e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001216/0.001235, allocations: 0.7232 MB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.002209, allocations: 1.093 MB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.002251, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.002279, allocations: 7.922 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.002342, allocations: 11.86 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.002607, allocations: 63.2 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.002697, allocations: 71.77 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.002795, allocations: 12.17 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.253e-05/0.002878, allocations: 51.89 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.002921, allocations: 19.97 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.002937, allocations: 11.94 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.005e-05/0.002988, allocations: 19.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.003006, allocations: 11.98 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.003037, allocations: 23.91 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003159, allocations: 87.67 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003161, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003163, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003166, allocations: 4 kB / 1.002 GB, free: 11.25 MB / 0.9636 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.0003854/0.003552, allocations: 298.1 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.003595, allocations: 13.34 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.003623, allocations: 34.75 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.00365, allocations: 12.88 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.754e-05/0.003727, allocations: 117.6 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.003744, allocations: 8.375 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.003756, allocations: 4.375 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.003895, allocations: 70.16 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.003902, allocations: 192 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.003911, allocations: 384 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.003916, allocations: 7.938 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.004003, allocations: 43.95 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.004538, allocations: 283.8 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.004651, allocations: 54.48 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.004701, allocations: 28.97 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.004726, allocations: 11.98 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.004856, allocations: 75.38 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.004857, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002591/0.005116, allocations: 133.6 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.00515, allocations: 59.39 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.005221, allocations: 125.8 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.005233, allocations: 25.7 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.005275, allocations: 100.1 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.005288, allocations: 11.84 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.005326, allocations: 33.7 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.005397, allocations: 318.8 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.005457, allocations: 27.97 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.005528, allocations: 73.98 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.005659, allocations: 121.7 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.005662, allocations: 4 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001729/0.005834, allocations: 133.6 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005846, allocations: 4 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.005851, allocations: 0 / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.005863, allocations: 4 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.00594, allocations: 19.92 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.005946, allocations: 4 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.005986, allocations: 7.984 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.005996, allocations: 8 kB / 1.004 GB, free: 8.781 MB / 0.9636 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.862e-05/0.006065, allocations: 135.5 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-06/0.006073, allocations: 7.938 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.006095, allocations: 12.44 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006097, allocations: 0 / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.006101, allocations: 0 / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006104, allocations: 0 / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.006384, allocations: 337.5 kB / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006385, allocations: 0 / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.006412, allocations: 15.92 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006414, allocations: 4 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.00642, allocations: 0 / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006421, allocations: 3.938 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006421, allocations: 0 / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.00657, allocations: 203.4 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.006577, allocations: 4 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.006587, allocations: 0 / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.006635, allocations: 11.98 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.006666, allocations: 7.984 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.006672, allocations: 7.938 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.006707, allocations: 95.27 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006707, allocations: 0 / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001682/0.006875, allocations: 23.89 kB / 1.005 GB, free: 7.855 MB / 0.9636 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.0003638/0.007239, allocations: 0.732 MB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.007394, allocations: 79.94 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.007395, allocations: 0 / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.007453, allocations: 35.92 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.007642, allocations: 16.67 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.008706, allocations: 1.526 MB / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.008748, allocations: 71.28 kB / 1.007 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.008777, allocations: 15.98 kB / 1.007 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.008817, allocations: 24.5 kB / 1.007 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.008817, allocations: 4 kB / 1.007 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02363, allocations: 2.817 MB / 1.01 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.648, allocations: 22.16 kB / 1.01 GB, free: 2.551 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.596995908766985]