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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 102.6 kB / 16.45 MB, free: 6.445 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.002019/0.002019, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 443.5 MB / 0.7287 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003067/0.003067, allocations: 67.89 kB / 1.056 GB, free: 2.504 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3392, allocations: 160.7 MB / 1.213 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002161/0.3414, allocations: 0.759 MB / 1.214 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3429, allocations: 1.074 MB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.343, allocations: 0 / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.343, allocations: 7.922 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.3431, allocations: 19.86 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.3435, allocations: 47.83 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3436, allocations: 75.77 kB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3437, allocations: 8.188 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.798e-05/0.3438, allocations: 35.86 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.3439, allocations: 35.83 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3439, allocations: 8 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.344, allocations: 19.98 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.344, allocations: 19.92 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.3441, allocations: 27.86 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3442, allocations: 75.97 kB / 1.215 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3442, allocations: 0 / 1.215 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3442, allocations: 0 / 1.215 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3442, allocations: 0 / 1.215 GB, free: 15.24 MB / 0.9669 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.0006178/0.3449, allocations: 391.1 kB / 1.215 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3449, allocations: 8.75 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.3449, allocations: 38.75 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.345, allocations: 12.83 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.3451, allocations: 180.2 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3451, allocations: 384 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3452, allocations: 8.375 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3454, allocations: 65.98 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3454, allocations: 4 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3454, allocations: 3.984 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3454, allocations: 4 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3456, allocations: 43.91 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.3463, allocations: 320.7 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.3464, allocations: 58.58 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.3465, allocations: 28.91 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3466, allocations: 0 / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3468, allocations: 79.33 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 4.198e-06/0.3468, allocations: 4 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004329/0.3472, allocations: 133.6 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3473, allocations: 51.41 kB / 1.216 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3474, allocations: 129.7 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3474, allocations: 29.7 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3475, allocations: 88.14 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3475, allocations: 15.89 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3475, allocations: 29.72 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3477, allocations: 322.8 kB / 1.217 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3478, allocations: 27.97 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3479, allocations: 73.98 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.3482, allocations: 117.8 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3482, allocations: 0 / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003145/0.3485, allocations: 125.5 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3485, allocations: 5.875 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3485, allocations: 4 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3485, allocations: 224 / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3487, allocations: 19.98 kB / 1.217 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3487, allocations: 11.92 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.3488, allocations: 15.89 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3488, allocations: 8 kB / 1.217 GB, free: 12.56 MB / 0.9669 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.0001007/0.3489, allocations: 121.8 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.3489, allocations: 15.83 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.3489, allocations: 16.36 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3489, allocations: 0 / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3489, allocations: 4 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3489, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.3495, allocations: 374.4 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3495, allocations: 0 / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.3495, allocations: 11.98 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3495, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3495, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3495, allocations: 7.938 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3496, allocations: 0 / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.3499, allocations: 207.4 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.3499, allocations: 81.06 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3499, allocations: 0 / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.35, allocations: 11.92 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3501, allocations: 8 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3501, allocations: 0 / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.3501, allocations: 99.92 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3501, allocations: 0 / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002627/0.3504, allocations: 15.94 kB / 1.218 GB, free: 11.5 MB / 0.9669 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.0006718/0.3511, allocations: 0.7478 MB / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3513, allocations: 71.89 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3513, allocations: 0 / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3514, allocations: 31.97 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3517, allocations: 18 kB / 1.219 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3536, allocations: 1.532 MB / 1.221 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3539, allocations: 0.6924 MB / 1.221 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.354, allocations: 4 kB / 1.221 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.354, allocations: 23.42 kB / 1.221 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.354, allocations: 0 / 1.221 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.3791, allocations: 2.134 MB / 1.224 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.509, allocations: 5.422 kB / 1.224 GB, free: 6.266 MB / 0.9669 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.659663804341108]