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.008831/0.008831, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001684/0.001685, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.355 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 2.753/2.753, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2949, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002602/0.2975, allocations: 0.7603 MB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2996, allocations: 1.07 MB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.2998, allocations: 3.938 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/0.2998, allocations: 7.922 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3, allocations: 11.88 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.3004, allocations: 51.89 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.3006, allocations: 75.7 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3008, allocations: 16.19 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3009, allocations: 35.89 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.301, allocations: 31.86 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.301, allocations: 8 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.3011, allocations: 15.98 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.3011, allocations: 15.92 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.3012, allocations: 31.84 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.3014, allocations: 83.75 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3014, allocations: 3.938 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3014, allocations: 0 / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.3015, allocations: 0 / 1.168 GB, free: 5.035 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.0008497/0.3023, allocations: 386.9 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/0.3024, allocations: 8.031 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.3025, allocations: 34.75 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.3026, allocations: 8.844 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3027, allocations: 176.2 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3028, allocations: 12.38 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3028, allocations: 4.375 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.3031, allocations: 69.92 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3031, allocations: 3.984 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.3031, allocations: 3.984 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3032, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.3034, allocations: 43.97 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.3044, allocations: 328.6 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3046, allocations: 54.55 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3047, allocations: 24.97 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.3047, allocations: 11.94 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.305, allocations: 79.27 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/0.305, allocations: 4 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004511/0.3055, allocations: 125.7 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3056, allocations: 55.41 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3057, allocations: 125.7 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3057, allocations: 33.7 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.3058, allocations: 84.14 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3058, allocations: 19.73 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.3059, allocations: 29.7 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.306, allocations: 322.8 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3061, allocations: 27.97 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3062, allocations: 77.97 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.3065, allocations: 113.8 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3065, allocations: 0 / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003182/0.3068, allocations: 129.5 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3068, allocations: 8 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3068, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3069, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.307, allocations: 19.92 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.307, allocations: 7.984 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.3071, allocations: 8 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.3071, allocations: 4 kB / 1.171 GB, free: 2.363 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.0001019/0.3072, allocations: 133.8 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.3073, allocations: 7.906 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.3073, allocations: 12.38 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3073, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3073, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3073, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.3078, allocations: 374.3 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3078, allocations: 4 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.3079, allocations: 11.92 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3079, allocations: 4 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3079, allocations: 4 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3079, allocations: 3.938 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3079, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3082, allocations: 207.8 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.3083, allocations: 81.11 kB / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3083, allocations: 0 / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.3084, allocations: 11.92 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3084, allocations: 4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3084, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.3085, allocations: 99.2 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3085, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002685/0.3088, allocations: 16 kB / 1.172 GB, free: 1.309 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.00061/0.3094, allocations: 0.7475 MB / 1.172 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.3097, allocations: 79.94 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3097, allocations: 0 / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3098, allocations: 35.91 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.3101, allocations: 17.81 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.312, allocations: 1.521 MB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3122, allocations: 0.6885 MB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.3123, allocations: 4 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.3123, allocations: 23.42 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.3123, allocations: 4 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.3327, allocations: 2.116 MB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.073, allocations: 14.38 kB / 1.177 GB, free: 12.08 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 & /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 --timeout=50 --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) 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/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