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 1.382/1.382, allocations: 287.4 MB / 302.6 MB, free: 8.254 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.0008026/0.0008026, allocations: 178.7 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.083/1.083, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0006563/0.0006563, allocations: 104.5 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003019, allocations: 12.44 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 115.3 MB / 0.9788 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.000602/0.1346, allocations: 453.7 kB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.1355, allocations: 1.11 MB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1355, allocations: 0 / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.1356, allocations: 4 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.1356, allocations: 19.84 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.136, allocations: 103.5 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.136, allocations: 99.75 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.1361, allocations: 8 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.1362, allocations: 39.89 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.1362, allocations: 27.91 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1363, allocations: 4 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.1363, allocations: 27.92 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.1363, allocations: 0 / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.1364, allocations: 41.64 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.207e-05/0.1365, allocations: 104 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1365, allocations: 3.938 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1365, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1365, allocations: 0 / 0.9807 GB, free: 26.05 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.0002701/0.1368, allocations: 373 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.1368, allocations: 8.031 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.1368, allocations: 34.75 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.1369, allocations: 12.94 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.186e-05/0.1369, allocations: 180.2 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.137, allocations: 4.375 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.137, allocations: 8.375 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.564e-05/0.1371, allocations: 42.25 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.1371, allocations: 7.875 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.1371, allocations: 0 / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1371, allocations: 0 / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.1371, allocations: 19.92 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.1374, allocations: 328.8 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.1374, allocations: 26.58 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.1375, allocations: 12.92 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.1375, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.1376, allocations: 75.22 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1376, allocations: 4 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001433/0.1377, allocations: 77.66 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.1378, allocations: 55.41 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.1378, allocations: 117.8 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1379, allocations: 29.7 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.1379, allocations: 100 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.1379, allocations: 11.84 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.1379, allocations: 4 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/0.138, allocations: 322.8 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.138, allocations: 35.97 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.1381, allocations: 54.56 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/0.1382, allocations: 88.27 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1382, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001938/0.1384, allocations: 171.1 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1384, allocations: 41.69 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1384, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.1384, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.568e-05/0.1385, allocations: 4 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1385, allocations: 0 / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1387, allocations: 41.59 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1387, allocations: 4 kB / 0.9829 GB, free: 23.53 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 5.2e-05/0.1388, allocations: 129.7 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.1388, allocations: 7.906 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.1388, allocations: 7.906 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1388, allocations: 3.938 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1388, allocations: 8.062 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1388, allocations: 0 / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.475e-05/0.1389, allocations: 181.5 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1389, allocations: 0 / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.1389, allocations: 4 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1389, allocations: 0 / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.1389, allocations: 0 / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1389, allocations: 3.938 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1389, allocations: 0 / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.749e-05/0.139, allocations: 93.05 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.139, allocations: 81.02 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1391, allocations: 8 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.1391, allocations: 4 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.1391, allocations: 3.984 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1391, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.1392, allocations: 99.27 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1392, allocations: 0 / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001698/0.1393, allocations: 16 kB / 0.9836 GB, free: 22.8 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.0002106/0.1395, allocations: 0.6366 MB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1397, allocations: 131.4 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1397, allocations: 0 / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.1397, allocations: 19.94 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.1399, allocations: 16.11 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.1406, allocations: 0.606 MB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.1407, allocations: 0.6848 MB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.1407, allocations: 8.5 kB / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.1407, allocations: 15.44 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1407, allocations: 0 / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/0.3521, allocations: 2.144 MB / 0.9877 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.3523, allocations: 206 kB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.005, allocations: 0 / 0.9879 GB, free: 18.34 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)