Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_8_0_0_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_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.677/2.677, allocations: 287.3 MB / 302.3 MB, free: 8.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 182.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001754/0.001754, allocations: 92.17 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 12.67 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001016/0.2491, allocations: 473.6 kB / 0.9788 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2506, allocations: 1.052 MB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.2507, allocations: 0 / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.2508, allocations: 3.938 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.2509, allocations: 11.98 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.2512, allocations: 43.83 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.897e-05/0.2513, allocations: 39.95 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.2514, allocations: 16.11 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.2515, allocations: 27.92 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.2515, allocations: 31.83 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2516, allocations: 4 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-05/0.2517, allocations: 15.98 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2517, allocations: 3.938 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.2518, allocations: 41.69 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2519, allocations: 52.16 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2519, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2519, allocations: 4 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2519, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 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.0005736/0.2525, allocations: 373.1 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.2526, allocations: 12.02 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.2526, allocations: 34.56 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2527, allocations: 7.906 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.2528, allocations: 178.8 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2528, allocations: 15.98 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.2529, allocations: 4 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.2531, allocations: 65.67 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2532, allocations: 0 / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2532, allocations: 0 / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2532, allocations: 0 / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.2535, allocations: 67.88 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.2543, allocations: 332.7 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.2546, allocations: 66.48 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.2547, allocations: 4.031 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.255, allocations: 83.5 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.255, allocations: 3.938 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006452/0.2556, allocations: 137.5 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2557, allocations: 67.34 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2558, allocations: 117.8 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2559, allocations: 25.7 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.2559, allocations: 100 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.256, allocations: 19.69 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.256, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.2561, allocations: 322.8 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2563, allocations: 35.98 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.2565, allocations: 73.98 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.2567, allocations: 43.97 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2567, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004773/0.2572, allocations: 141.5 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2572, allocations: 4 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2572, allocations: 4 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2573, allocations: 4.219 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.2575, allocations: 23.97 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2575, allocations: 3.953 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.2576, allocations: 15.91 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2577, allocations: 8 kB / 0.9824 GB, free: 23.86 MB / 0.6198 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.2578, allocations: 121.8 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.2578, allocations: 7.906 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.2578, allocations: 12.38 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2579, allocations: 4 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2579, allocations: 0 / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2579, allocations: 7.953 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.2585, allocations: 386.3 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2586, allocations: 4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.2587, allocations: 11.98 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2587, allocations: 0 / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.2587, allocations: 4 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2587, allocations: 4.344 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2587, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.2591, allocations: 215.4 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.2592, allocations: 84.95 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.2592, allocations: 4 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.2593, allocations: 11.98 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.2594, allocations: 7.953 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.2594, allocations: 7.938 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.2595, allocations: 95.27 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2595, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004144/0.2599, allocations: 12 kB / 0.9833 GB, free: 22.79 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000727/0.2607, allocations: 0.7553 MB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.2611, allocations: 87.83 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2611, allocations: 0 / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.2613, allocations: 43.97 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.2616, allocations: 12.39 kB / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.2626, allocations: 1.305 MB / 0.9855 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2627, allocations: 0.6887 MB / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.2628, allocations: 8 kB / 0.9861 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.2629, allocations: 23.42 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2629, allocations: 0 / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.2876, allocations: 1.777 MB / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004354/0.2881, allocations: 208.3 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/2.599, allocations: 4 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)