Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.0009006/0.0009007, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005436/0.005436, allocations: 168.8 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005326, allocations: 22.45 kB / 0.6745 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.244, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001015/0.245, allocations: 497.2 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.2465, allocations: 1.068 MB / 0.7895 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.2466, allocations: 4 kB / 0.7895 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.2467, allocations: 3.938 kB / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.2467, allocations: 3.938 kB / 0.7896 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.2471, allocations: 43.89 kB / 0.7896 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2472, allocations: 71.78 kB / 0.7897 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2473, allocations: 16.17 kB / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.2474, allocations: 23.92 kB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.2475, allocations: 27.84 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.2475, allocations: 4 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.2476, allocations: 15.98 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.2476, allocations: 11.97 kB / 0.7898 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.2477, allocations: 53.52 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.2478, allocations: 83.89 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2478, allocations: 4 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.647e-06/0.2478, allocations: 3.984 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2478, allocations: 0 / 0.7899 GB, free: 9.516 MB / 0.6075 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.0005495/0.2484, allocations: 359.3 kB / 0.7902 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2484, allocations: 12.03 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.2485, allocations: 38.73 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2485, allocations: 8.844 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2487, allocations: 176.2 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2487, allocations: 384 / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2487, allocations: 8.312 kB / 0.7905 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.2489, allocations: 85.91 kB / 0.7906 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.249, allocations: 0 / 0.7906 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.249, allocations: 0 / 0.7906 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.249, allocations: 0 / 0.7906 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.2492, allocations: 63.94 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.2498, allocations: 328.7 kB / 0.7909 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.25, allocations: 54.56 kB / 0.791 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2501, allocations: 44.95 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2502, allocations: 3.984 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.2504, allocations: 79.38 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2504, allocations: 0 / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.00045/0.2509, allocations: 145.6 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.2509, allocations: 59.41 kB / 0.7913 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.251, allocations: 121.8 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2511, allocations: 29.69 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.2511, allocations: 92.14 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2512, allocations: 19.73 kB / 0.7916 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.2512, allocations: 25.64 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2513, allocations: 322.8 kB / 0.7919 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2514, allocations: 31.97 kB / 0.7919 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.2516, allocations: 77.98 kB / 0.792 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.2519, allocations: 121.8 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2519, allocations: 4 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003154/0.2522, allocations: 141.4 kB / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2522, allocations: 4.219 kB / 0.7922 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2522, allocations: 8 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2522, allocations: 0 / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2524, allocations: 27.91 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2524, allocations: 0 / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.2525, allocations: 12 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.2525, allocations: 11.98 kB / 0.7923 GB, free: 6.773 MB / 0.6075 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 9.578e-05/0.2526, allocations: 129.2 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.2526, allocations: 7.906 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.2527, allocations: 8.375 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2527, allocations: 0 / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2527, allocations: 3.938 kB / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2527, allocations: 8 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.2532, allocations: 390.6 kB / 0.7928 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2532, allocations: 0 / 0.7928 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.2533, allocations: 15.92 kB / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2533, allocations: 0 / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2533, allocations: 0 / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2533, allocations: 4.016 kB / 0.7928 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2533, allocations: 3.984 kB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.2536, allocations: 207.5 kB / 0.793 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.2537, allocations: 85.02 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2537, allocations: 4 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.2538, allocations: 19.86 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.2538, allocations: 4 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2538, allocations: 7.984 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.2539, allocations: 87.28 kB / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2539, allocations: 0 / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002497/0.2542, allocations: 19.98 kB / 0.7933 GB, free: 5.691 MB / 0.6075 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.0006645/0.2548, allocations: 0.7553 MB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2551, allocations: 87.89 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2551, allocations: 0 / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2552, allocations: 39.91 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2555, allocations: 20.36 kB / 0.7941 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.2573, allocations: 1.559 MB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2576, allocations: 0.6923 MB / 0.7963 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2577, allocations: 4 kB / 0.7963 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.2577, allocations: 23.42 kB / 0.7964 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2577, allocations: 0 / 0.7964 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.2701, allocations: 1.833 MB / 0.7982 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.2704, allocations: 233.9 kB / 0.7984 GB, free: 480 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.874, allocations: 3.938 kB / 0.7984 GB, free: 476 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)