Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001301/0.001301, allocations: 106.9 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001432/0.001432, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7672 GB, free: 5.211 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.SampleTrigger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002944/0.002944, allocations: 67.89 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.9406, allocations: 169.9 MB / 1.278 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002108/0.9427, allocations: 0.7554 MB / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.9442, allocations: 1.114 MB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.9442, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.9443, allocations: 7.875 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.9443, allocations: 7.938 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.9446, allocations: 55.81 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.9448, allocations: 75.77 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.9449, allocations: 16.17 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.9449, allocations: 31.86 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.945, allocations: 35.84 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.945, allocations: 4 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.9451, allocations: 19.97 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.9451, allocations: 12 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.9452, allocations: 35.8 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.9453, allocations: 73.52 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.9453, allocations: 3.984 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9453, allocations: 0 / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.9453, allocations: 8 kB / 1.28 GB, free: 11.09 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.0006281/0.946, allocations: 375.2 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.946, allocations: 15.97 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.9461, allocations: 34.69 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.9461, allocations: 8.891 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.9463, allocations: 176.3 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.9463, allocations: 4.375 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.9463, allocations: 4.375 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.9465, allocations: 73.97 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.9465, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.9465, allocations: 4 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9465, allocations: 4 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.9467, allocations: 43.89 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.9474, allocations: 324.7 kB / 1.281 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.9476, allocations: 54.58 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.9477, allocations: 32.95 kB / 1.282 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.9477, allocations: 0 / 1.282 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.9479, allocations: 83.38 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.9479, allocations: 0 / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004424/0.9483, allocations: 129.5 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.9484, allocations: 55.41 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.9485, allocations: 125.8 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.9485, allocations: 25.7 kB / 1.282 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.9486, allocations: 104 kB / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.9486, allocations: 15.91 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.9487, allocations: 29.7 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9488, allocations: 318.8 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.9489, allocations: 27.97 kB / 1.282 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.9491, allocations: 73.98 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.9494, allocations: 113.8 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9494, allocations: 0 / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003298/0.9497, allocations: 129.5 kB / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9497, allocations: 4.219 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9497, allocations: 8 kB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.9497, allocations: 0 / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.9499, allocations: 23.91 kB / 1.283 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.9499, allocations: 4 kB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.9499, allocations: 4 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.95, allocations: 15.92 kB / 1.283 GB, free: 8.422 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 0.0001115/0.9501, allocations: 129.7 kB / 1.283 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.9501, allocations: 7.953 kB / 1.283 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.9501, allocations: 12.38 kB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9501, allocations: 0 / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.9501, allocations: 4 kB / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9501, allocations: 4 kB / 1.283 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.9507, allocations: 374.4 kB / 1.283 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9507, allocations: 0 / 1.283 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.9507, allocations: 11.98 kB / 1.283 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9507, allocations: 4 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.9507, allocations: 0 / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.9508, allocations: 7.875 kB / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9508, allocations: 3.938 kB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.9511, allocations: 203.8 kB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.9511, allocations: 77.11 kB / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.9511, allocations: 0 / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.9512, allocations: 19.92 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.9513, allocations: 4 kB / 1.284 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.9513, allocations: 4 kB / 1.284 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.9513, allocations: 91.92 kB / 1.284 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9513, allocations: 0 / 1.284 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002657/0.9516, allocations: 19.95 kB / 1.284 GB, free: 7.355 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.0007089/0.9523, allocations: 0.7444 MB / 1.284 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.9526, allocations: 75.89 kB / 1.285 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9526, allocations: 448 / 1.285 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.9527, allocations: 39.91 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.953, allocations: 19.86 kB / 1.285 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.9549, allocations: 1.513 MB / 1.286 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.9552, allocations: 0.6961 MB / 1.287 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.9553, allocations: 4 kB / 1.287 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.9553, allocations: 27.42 kB / 1.287 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9553, allocations: 0 / 1.287 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.98, allocations: 2.112 MB / 1.289 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/9.089, allocations: 16.92 kB / 1.289 GB, free: 2.086 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable samTri.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv. Warning: Get data of variable samTri.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv failed! Error: Could not read variable samTri1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv. Warning: Get data of variable samTri1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.323567201150581]