Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.003956/0.003956, allocations: 98.55 kB / 15.73 MB, free: 6.043 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.001132/0.001132, allocations: 201.9 kB / 16.68 MB, free: 5.965 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.497/2.497, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2533, 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.SampleTriggerPositiveStartTime): time 0.001595/0.2549, allocations: 0.7495 MB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2561, allocations: 1.073 MB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2561, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.2562, allocations: 11.94 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.2562, allocations: 15.86 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2565, allocations: 47.83 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2566, allocations: 71.83 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.2567, allocations: 16.17 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.2567, allocations: 35.84 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.2568, allocations: 27.91 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.2568, allocations: 12 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.2569, allocations: 23.92 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.2569, allocations: 19.92 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.257, allocations: 31.84 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2571, allocations: 75.69 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2571, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2571, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2571, allocations: 0 / 1.222 GB, free: 12.04 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.0004635/0.2576, allocations: 387.1 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2576, allocations: 12.03 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.2577, allocations: 38.75 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.2577, allocations: 8.891 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2578, allocations: 176.2 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2578, allocations: 4.359 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2578, allocations: 8.375 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.258, allocations: 69.92 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.258, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.2581, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2581, allocations: 4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2582, allocations: 47.95 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.2588, allocations: 324.7 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.2589, allocations: 50.55 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.259, allocations: 32.97 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.259, allocations: 4 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.2592, allocations: 87.34 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2592, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003668/0.2596, allocations: 121.6 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.2597, allocations: 55.41 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.2598, allocations: 129.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2598, allocations: 25.7 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.2598, allocations: 92.08 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2599, allocations: 15.89 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.2599, allocations: 29.7 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.26, allocations: 334.7 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.2601, allocations: 31.91 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.2603, allocations: 69.98 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2605, allocations: 105.9 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2605, allocations: 4 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002874/0.2608, allocations: 137.4 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2608, allocations: 4 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2608, allocations: 0 / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.2608, allocations: 4 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.261, allocations: 15.98 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.261, allocations: 4.219 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.2611, allocations: 15.94 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2611, allocations: 7.938 kB / 1.225 GB, free: 9.355 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.693e-05/0.2612, allocations: 130.2 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2612, allocations: 7.938 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.2612, allocations: 12.36 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2612, allocations: 0 / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2612, allocations: 0 / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2612, allocations: 0 / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.2617, allocations: 378.4 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2617, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.2617, allocations: 7.984 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2617, allocations: 0 / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2617, allocations: 7.938 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2618, allocations: 4.328 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2618, allocations: 0 / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.262, allocations: 207.4 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.2621, allocations: 89.05 kB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.2621, allocations: 0 / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.2622, allocations: 11.94 kB / 1.225 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.2622, allocations: 11.98 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2622, allocations: 0 / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.2623, allocations: 107.8 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2623, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000223/0.2625, allocations: 16 kB / 1.226 GB, free: 8.277 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.000556/0.2631, allocations: 0.7357 MB / 1.226 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.2633, allocations: 83.86 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2633, allocations: 0 / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2635, 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.0002229/0.2637, allocations: 17.81 kB / 1.226 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.2652, allocations: 1.524 MB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2655, allocations: 0.6923 MB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.2655, allocations: 11.98 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.2656, allocations: 19.44 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2656, allocations: 0 / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.274/7.54, allocations: 2.124 MB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/15.37, allocations: 12.14 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches