Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001686/0.001686, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.927/1.927, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005339/0.0005341, allocations: 18 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2492, allocations: 116.3 MB / 0.7873 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0009934/0.2502, allocations: 457.5 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2517, allocations: 1.088 MB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.2517, allocations: 0 / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.2517, allocations: 3.938 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.2518, allocations: 19.95 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.2523, allocations: 108.4 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2524, allocations: 63.86 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.2525, allocations: 4 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.2525, allocations: 43.89 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.2526, allocations: 23.91 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2526, allocations: 8 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.2527, allocations: 15.98 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.2527, allocations: 7.938 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.2528, allocations: 37.7 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.2529, allocations: 104 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2529, allocations: 0 / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.253, allocations: 0 / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.253, allocations: 0 / 0.7892 GB, free: 9.859 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000454/0.2534, allocations: 388.8 kB / 0.7895 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2535, allocations: 8.031 kB / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.2535, allocations: 30.56 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.2536, allocations: 8 kB / 0.7896 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2537, allocations: 178.9 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2537, allocations: 12 kB / 0.7898 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.2538, allocations: 7.938 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.2539, allocations: 41.69 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2539, allocations: 3.984 kB / 0.7898 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.2539, allocations: 0 / 0.7898 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2539, allocations: 4 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.254, allocations: 15.98 kB / 0.7898 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.2545, allocations: 328.8 kB / 0.7902 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.2545, allocations: 30.52 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2545, allocations: 0 / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.2547, allocations: 75.38 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2547, allocations: 0 / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.2549, allocations: 81.52 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.255, allocations: 55.41 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2551, allocations: 121.8 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2551, allocations: 29.7 kB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.2552, allocations: 88.12 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.2552, allocations: 11.81 kB / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.2553, allocations: 4 kB / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2554, allocations: 322.8 kB / 0.7909 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.2555, allocations: 39.97 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.2556, allocations: 50.56 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.2557, allocations: 65.69 kB / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2557, allocations: 0 / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002737/0.256, allocations: 163.3 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.256, allocations: 33.7 kB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.256, allocations: 0 / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.256, allocations: 4 kB / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.2561, allocations: 7.922 kB / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2561, allocations: 4 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.2563, allocations: 40.03 kB / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2564, allocations: 4 kB / 0.7913 GB, free: 7.387 MB / 0.6075 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.0001088/0.2565, allocations: 121.8 kB / 0.7914 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.2565, allocations: 11.83 kB / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.2565, allocations: 7.906 kB / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2565, allocations: 0 / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2566, allocations: 0 / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2566, allocations: 0 / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.2567, allocations: 189.5 kB / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2567, allocations: 0 / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.2567, allocations: 0 / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2567, allocations: 0 / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.2568, allocations: 0 / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2568, allocations: 8 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2568, allocations: 4 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.2569, allocations: 92.92 kB / 0.7917 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.2569, allocations: 85.09 kB / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.257, allocations: 4.281 kB / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.257, allocations: 0 / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.257, allocations: 0 / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.257, allocations: 4 kB / 0.7918 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.2571, allocations: 99.27 kB / 0.7919 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2571, allocations: 0 / 0.7919 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002222/0.2573, allocations: 19.91 kB / 0.7919 GB, free: 6.648 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: 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.000481/0.2578, allocations: 0.6397 MB / 0.7926 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.258, allocations: 131.4 kB / 0.7927 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2581, allocations: 0 / 0.7927 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.2581, allocations: 19.94 kB / 0.7927 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.2583, allocations: 16.88 kB / 0.7927 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.2589, allocations: 0.6625 MB / 0.7934 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.2592, allocations: 0.6887 MB / 0.7941 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.2592, allocations: 4.188 kB / 0.7941 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.2593, allocations: 23.42 kB / 0.7941 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of SimCode: time 2.936e-06/0.2593, allocations: 0 / 0.7941 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.272, allocations: 2.106 MB / 0.7961 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.2722, allocations: 198.2 kB / 0.7963 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.382, allocations: 0 / 0.7963 GB, free: 2.145 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: