Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.0009724/0.0009725, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008736/0.0008736, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.811/1.811, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.000482/0.000482, allocations: 16.38 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2146, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001035/0.2157, allocations: 398.5 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2177, allocations: 1.142 MB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.2178, allocations: 4 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.2178, allocations: 3.938 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.2179, allocations: 3.938 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.2185, allocations: 130.6 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.2187, allocations: 115.8 kB / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.2188, allocations: 8 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2189, allocations: 47.89 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2191, allocations: 47.88 kB / 0.7893 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.2191, allocations: 4 kB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.2192, allocations: 31.97 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.2193, allocations: 15.92 kB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.2194, allocations: 41.7 kB / 0.7894 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.2195, allocations: 88 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2196, allocations: 4 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2196, allocations: 0 / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2196, allocations: 0 / 0.7894 GB, free: 9.738 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.0006563/0.2202, allocations: 392.9 kB / 0.7898 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2203, allocations: 12.03 kB / 0.7898 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.2204, allocations: 46.48 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.2204, allocations: 15.84 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.2209, allocations: 215 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.221, allocations: 4 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.221, allocations: 15.98 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.2213, allocations: 89.52 kB / 0.7902 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2213, allocations: 0 / 0.7902 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2213, allocations: 3.984 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2213, allocations: 0 / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.2215, allocations: 39.97 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.2222, allocations: 364.6 kB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.2224, allocations: 98.56 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.2225, allocations: 52.83 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2226, allocations: 0 / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.2229, allocations: 123.3 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.2229, allocations: 0 / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005447/0.2234, allocations: 204.6 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.2235, allocations: 59.41 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2236, allocations: 109.8 kB / 0.7912 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.2237, allocations: 33.7 kB / 0.7912 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.2238, allocations: 96.03 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.2238, allocations: 23.86 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.2239, allocations: 8 kB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.224, allocations: 318.8 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2242, allocations: 51.97 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2244, allocations: 84.27 kB / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.2246, allocations: 73.69 kB / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2246, allocations: 3.938 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005024/0.2251, allocations: 207.2 kB / 0.7921 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.2252, allocations: 41.81 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2252, allocations: 3.938 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2252, allocations: 0 / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.2253, allocations: 15.94 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2254, allocations: 7.953 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2257, allocations: 47.81 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.2257, allocations: 16.3 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001326/0.2259, allocations: 122.4 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2259, allocations: 15.89 kB / 0.7923 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.226, allocations: 8.5 kB / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.226, allocations: 0 / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.226, allocations: 0 / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.226, allocations: 7.953 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.2266, allocations: 426.5 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2266, allocations: 0 / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.2267, allocations: 7.938 kB / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2267, allocations: 11.92 kB / 0.7928 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.2267, allocations: 3.984 kB / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2267, allocations: 3.953 kB / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2267, allocations: 0 / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.2272, allocations: 262.7 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.2272, allocations: 92.94 kB / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.2273, allocations: 12 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.2274, allocations: 7.984 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.2275, allocations: 15.94 kB / 0.7931 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2276, allocations: 11.98 kB / 0.7932 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.2276, allocations: 87.27 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2276, allocations: 0 / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005173/0.2282, allocations: 39.98 kB / 0.7933 GB, free: 5.441 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007974/0.229, allocations: 0.8006 MB / 0.7941 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.2294, allocations: 191.3 kB / 0.7942 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2294, allocations: 0 / 0.7942 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.2296, allocations: 72.17 kB / 0.7943 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.2301, allocations: 15.94 kB / 0.7943 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2317, allocations: 0.6801 MB / 0.795 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2321, allocations: 0.6921 MB / 0.7957 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.025e-05/0.2322, allocations: 16.55 kB / 0.7957 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.2322, allocations: 23.48 kB / 0.7957 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2322, allocations: 0 / 0.7957 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.2475, allocations: 2.417 MB / 0.7981 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/0.2478, allocations: 201.6 kB / 0.7983 GB, free: 376 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.173, allocations: 0 / 0.7983 GB, free: 376 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: