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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005775/0.005775, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001426/0.001426, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 68.08 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2427, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00158/0.2443, allocations: 0.759 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2455, allocations: 1.073 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.2455, allocations: 3.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.2455, allocations: 3.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.2456, allocations: 7.875 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.2458, allocations: 63.81 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.2459, allocations: 63.84 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.246, allocations: 20.17 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.2461, allocations: 35.84 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.2462, allocations: 27.91 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2462, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.292e-05/0.2462, allocations: 16 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.2463, allocations: 15.92 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2463, allocations: 39.78 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2464, allocations: 83.62 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2464, allocations: 4 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2465, allocations: 0 / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2465, allocations: 0 / 1.222 GB, free: 12.03 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.0004817/0.247, allocations: 387.1 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.247, allocations: 8.031 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.247, allocations: 30.75 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2471, allocations: 12.89 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2472, allocations: 180.3 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2472, allocations: 4.375 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2472, allocations: 4.375 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.2474, allocations: 77.91 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2474, allocations: 3.984 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.2474, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2474, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.2476, allocations: 43.95 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.2481, allocations: 316.7 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.2483, allocations: 62.55 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.2484, allocations: 24.97 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2484, allocations: 7.984 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.2486, allocations: 79.33 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.126e-06/0.2486, allocations: 96 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003653/0.2489, allocations: 129.6 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.249, allocations: 51.41 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.2491, allocations: 129.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2491, allocations: 29.7 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.2492, allocations: 92.08 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2492, allocations: 23.88 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.2492, allocations: 29.7 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2494, allocations: 318.8 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2495, allocations: 31.97 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2496, allocations: 81.86 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.2498, allocations: 105.9 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2498, allocations: 0 / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002836/0.2501, allocations: 129.5 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2501, allocations: 11.94 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2501, allocations: 0 / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2502, allocations: 7.938 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2503, allocations: 23.97 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2503, allocations: 0 / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.2504, allocations: 11.95 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2504, allocations: 4 kB / 1.225 GB, free: 9.352 MB / 0.9825 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 8.215e-05/0.2505, allocations: 134.3 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.2505, allocations: 7.953 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.2505, allocations: 8.375 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2505, allocations: 4 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2505, allocations: 0 / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2505, allocations: 0 / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.251, allocations: 370.7 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.251, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.251, allocations: 15.98 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.251, allocations: 0 / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2511, allocations: 0 / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2511, allocations: 3.938 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2511, allocations: 0 / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.2513, allocations: 211.5 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.2514, allocations: 81.06 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2514, allocations: 4 kB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.2515, allocations: 11.92 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2515, allocations: 7.938 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2515, allocations: 8 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.2516, allocations: 95.2 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2516, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002229/0.2518, allocations: 12 kB / 1.226 GB, free: 8.289 MB / 0.9825 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.0005506/0.2524, allocations: 0.7485 MB / 1.226 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.2526, allocations: 83.88 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2526, allocations: 0 / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.2528, allocations: 35.97 kB / 1.226 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.253, allocations: 7.938 kB / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2545, allocations: 1.541 MB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.2548, allocations: 0.6885 MB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.2548, allocations: 7.938 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.2549, allocations: 23.42 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2549, allocations: 4 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.893/3.148, allocations: 2.125 MB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.08/24.23, allocations: 6.406 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB (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 --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) 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) Reference file matches