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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001973/0.001973, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.72/2.72, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.89 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9149/0.917, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001889/0.9189, allocations: 0.7605 MB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.9202, allocations: 1.076 MB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.9202, allocations: 0.7188 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.9202, allocations: 5.969 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.9203, allocations: 14.78 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.9206, allocations: 59.84 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.9207, allocations: 65.45 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.9208, allocations: 15.59 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.9209, allocations: 27.69 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.9209, allocations: 36.81 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.921, allocations: 10.16 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.921, allocations: 23.58 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.9211, allocations: 14.05 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.9211, allocations: 34.19 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.9212, allocations: 79.83 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.9212, allocations: 4 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9212, allocations: 0.75 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.9213, allocations: 0 / 1.274 GB, free: 6.234 MB / 0.9981 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.000452/0.9217, allocations: 373.6 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9217, allocations: 13.38 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.9218, allocations: 34 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.9218, allocations: 16.73 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.9219, allocations: 177.7 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.9219, allocations: 11.25 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.9219, allocations: 3.938 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.9221, allocations: 78.03 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9221, allocations: 0.7188 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.9221, allocations: 1.031 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.9221, allocations: 4.844 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.9223, allocations: 45.95 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.9228, allocations: 315.5 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.923, allocations: 57.72 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.9231, allocations: 29.61 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.9231, allocations: 1.25 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.9233, allocations: 81.27 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.9233, allocations: 1.062 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.9237, allocations: 131.2 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.9238, allocations: 52.44 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.9238, allocations: 118.2 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.9238, allocations: 27.12 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.9239, allocations: 100.4 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.9239, allocations: 12.56 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.9239, allocations: 33.34 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.924, allocations: 329.5 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.9241, allocations: 26.05 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.9242, allocations: 73.34 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.9244, allocations: 106.7 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9244, allocations: 5 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000293/0.9247, allocations: 130.9 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.9247, allocations: 5.844 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9247, allocations: 1.438 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9247, allocations: 2.312 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.9249, allocations: 18.11 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9249, allocations: 6.219 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.925, allocations: 16.34 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.925, allocations: 13.28 kB / 1.276 GB, free: 4.172 MB / 0.9981 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 6.304e-05/0.9251, allocations: 127.7 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.9251, allocations: 7.516 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.9251, allocations: 10.48 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9251, allocations: 5.625 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9251, allocations: 0 / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9251, allocations: 4.625 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.9255, allocations: 375.3 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9255, allocations: 2.109 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.9255, allocations: 8.578 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.9255, allocations: 0.8438 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.9256, allocations: 0.8438 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9256, allocations: 3.938 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9256, allocations: 4.812 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.9258, allocations: 208.1 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.9258, allocations: 83.59 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.9259, allocations: 6.234 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.9259, allocations: 9 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.926, allocations: 5.016 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.926, allocations: 6.234 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.926, allocations: 92.39 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.926, allocations: 1 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002587/0.9263, allocations: 22.08 kB / 1.277 GB, free: 3.32 MB / 0.9981 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.0004551/0.9267, allocations: 0.7457 MB / 1.278 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.927, allocations: 74.28 kB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.927, allocations: 0.8125 kB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.9271, allocations: 32.2 kB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.9274, allocations: 23.69 kB / 1.278 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.9289, allocations: 1.526 MB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.9293, allocations: 0.6926 MB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.9293, allocations: 8.953 kB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.9294, allocations: 23.38 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9294, allocations: 1.062 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.9532, allocations: 2.1 MB / 1.282 GB, free: 16.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.847, allocations: 2.734 kB / 1.282 GB, free: 16.1 MB / 1.014 GB " [Timeout remaining time 291] (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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.853205872001126]