Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",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.623/2.623, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.002066/0.002066, allocations: 186.6 kB / 371 MB, free: 10.86 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.165/2.165, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009347/0.0009344, allocations: 93.41 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.000498, allocations: 17.19 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.000912/0.2118, allocations: 453.7 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2133, allocations: 1.107 MB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.2134, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.2134, allocations: 3.938 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.2135, allocations: 11.92 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.214, allocations: 111.5 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.2142, allocations: 95.83 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.2143, allocations: 4 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.2144, allocations: 43.83 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.2144, allocations: 27.91 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.2145, allocations: 4 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2146, allocations: 15.98 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2146, allocations: 11.92 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.2147, allocations: 37.7 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2148, allocations: 108 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2149, allocations: 0 / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2149, allocations: 0 / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2149, allocations: 0 / 0.9805 GB, free: 26.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000406/0.2153, allocations: 372.9 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2153, allocations: 12.02 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.2154, allocations: 34.56 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.2154, allocations: 7.984 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2155, allocations: 174.9 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.2156, allocations: 11.94 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.2156, allocations: 8 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2157, allocations: 41.69 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2158, allocations: 3.938 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.2158, allocations: 0 / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2158, allocations: 0 / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.302e-05/0.2158, allocations: 15.98 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.2163, allocations: 324.8 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.2164, allocations: 42.52 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.2164, allocations: 12.92 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.2164, allocations: 0 / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.2166, allocations: 75.36 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.2166, allocations: 0 / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000224/0.2168, allocations: 77.53 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2169, allocations: 59.36 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.217, allocations: 125.8 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.217, allocations: 33.7 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.2171, allocations: 92.12 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.2171, allocations: 11.75 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.2171, allocations: 4 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.2172, allocations: 318.8 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.2173, allocations: 35.98 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2175, allocations: 58.56 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2176, allocations: 61.69 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2176, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003566/0.218, allocations: 159.3 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.218, allocations: 37.69 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2181, allocations: 4 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2181, allocations: 0 / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.2181, allocations: 12 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2182, allocations: 0 / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.2185, allocations: 37.8 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.2186, allocations: 15.98 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 8.668e-05/0.2187, allocations: 117.8 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.2187, allocations: 7.906 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.2187, allocations: 3.969 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2187, allocations: 7.938 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2187, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2188, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.2189, allocations: 181.5 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2189, allocations: 0 / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.2189, allocations: 4 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2189, allocations: 4 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2189, allocations: 0 / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.219, allocations: 4 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.219, allocations: 0 / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2191, allocations: 96.91 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.2192, allocations: 81.11 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2192, allocations: 0 / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/0.2192, allocations: 0 / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.2193, allocations: 7.984 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2193, allocations: 0 / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.2193, allocations: 103.3 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2194, allocations: 0 / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002754/0.2196, allocations: 23.91 kB / 0.9832 GB, free: 22.97 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003811/0.22, allocations: 0.6319 MB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.2203, allocations: 135.4 kB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2204, allocations: 0 / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.2204, allocations: 20.36 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2207, allocations: 15.98 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2219, allocations: 0.5981 MB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.222, allocations: 0.6887 MB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.2221, allocations: 4.281 kB / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2221, allocations: 15.44 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2222, allocations: 0 / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.2427, allocations: 2.16 MB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.243, allocations: 198.5 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/2.829, allocations: 0 / 0.9876 GB, free: 18.52 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)