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.701/2.701, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001544/0.001544, allocations: 183 kB / 370.8 MB, free: 10.84 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.193/2.193, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001146/0.001146, allocations: 90.03 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006803/0.0006809, allocations: 14.17 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2151, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.00097/0.2162, allocations: 453.7 kB / 0.9787 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2177, allocations: 1.087 MB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.2177, allocations: 4 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.2178, allocations: 3.938 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.2179, allocations: 11.97 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.2184, allocations: 111 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2185, allocations: 59.86 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.2186, allocations: 11.98 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.291e-05/0.2187, allocations: 39.89 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.2188, allocations: 27.91 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.2189, allocations: 4 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.2189, allocations: 15.98 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.219, allocations: 7.938 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.219, allocations: 37.7 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2192, allocations: 104 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2192, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2192, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2193, allocations: 4 kB / 0.9802 GB, free: 26.27 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.0004055/0.2197, allocations: 376.9 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2197, allocations: 16.02 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.2198, allocations: 30.56 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.2198, allocations: 4 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.22, allocations: 190.8 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.22, allocations: 7.938 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.22, allocations: 4 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.2201, allocations: 41.69 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2202, allocations: 0 / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2202, allocations: 0 / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2202, allocations: 4 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.2203, allocations: 11.98 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.2207, allocations: 340.7 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.984e-05/0.2208, allocations: 34.58 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.2208, allocations: 0 / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.221, allocations: 59.45 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.497e-06/0.221, allocations: 0 / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002349/0.2212, allocations: 81.47 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2213, allocations: 59.39 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2214, allocations: 129.8 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2214, allocations: 25.7 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.2215, allocations: 92.12 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.2215, allocations: 7.812 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.2216, allocations: 8 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.2216, allocations: 310.8 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2218, allocations: 39.98 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2219, allocations: 62.55 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.222, allocations: 61.69 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2221, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003657/0.2224, allocations: 163.4 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.2225, allocations: 39.73 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2225, allocations: 3.938 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2225, allocations: 0 / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.2226, allocations: 8.062 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2226, allocations: 3.984 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.2232, allocations: 39.92 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.2233, allocations: 4 kB / 0.9824 GB, free: 23.8 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 0.0001547/0.2235, allocations: 117.8 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.2236, allocations: 7.906 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.2236, allocations: 11.89 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2237, allocations: 240 / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2237, allocations: 4 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2237, allocations: 3.984 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.2239, allocations: 177.5 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.224, allocations: 0 / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.224, allocations: 7.984 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.224, allocations: 0 / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2241, allocations: 4 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2241, allocations: 0 / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2241, allocations: 3.938 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2244, allocations: 96.92 kB / 0.9828 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.2244, allocations: 81.09 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.2245, allocations: 0 / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.2246, allocations: 4 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.2246, allocations: 0 / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2246, allocations: 4 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001044/0.2248, allocations: 103.6 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2248, allocations: 0 / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006274/0.2254, allocations: 19.91 kB / 0.983 GB, free: 23.07 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.0006563/0.2261, allocations: 0.6319 MB / 0.9836 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.2267, allocations: 135.4 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2267, allocations: 0 / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.2268, allocations: 27.92 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.2274, allocations: 14.05 kB / 0.9838 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2286, allocations: 0.6599 MB / 0.9844 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.2288, allocations: 0.6887 MB / 0.9851 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.047e-05/0.2289, allocations: 4.188 kB / 0.9851 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.229, allocations: 23.42 kB / 0.9851 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.313e-06/0.229, allocations: 0 / 0.9851 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.2508, allocations: 2.111 MB / 0.9872 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.2511, allocations: 198.4 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.595, allocations: 64 / 0.9874 GB, free: 18.57 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)