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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001146/0.001146, allocations: 188.7 kB / 377.1 MB, free: 1.539 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.685/1.685, allocations: 205.4 MB / 0.6366 GB, free: 9.57 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.0009324, allocations: 86.38 kB / 0.7509 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 8 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 116.3 MB / 0.9885 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6614/0.917, allocations: 139.2 MB / 1.124 GB, free: 35.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.9173, allocations: 77.92 kB / 1.124 GB, free: 35.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0053/0.9226, allocations: 2.005 MB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9226, allocations: 0 / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9227, allocations: 0 / 1.126 GB, free: 34.07 MB / 0.7292 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.0003723/0.923, allocations: 389.7 kB / 1.127 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9231, allocations: 12.02 kB / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.9231, allocations: 45.89 kB / 1.127 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.9232, allocations: 9.969 kB / 1.127 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.9233, allocations: 167 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.9233, allocations: 4.75 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.9234, allocations: 16.66 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/0.9235, allocations: 41.73 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.9235, allocations: 0.7969 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.9235, allocations: 0 / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.9235, allocations: 1.719 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.9235, allocations: 12 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.9239, allocations: 334.5 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.924, allocations: 30.52 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.924, allocations: 0.6562 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.9242, allocations: 70.34 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.9242, allocations: 4.516 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001837/0.9244, allocations: 77.89 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.9244, allocations: 55.41 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.756e-05/0.9245, allocations: 112.9 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.9245, allocations: 25.7 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.9246, allocations: 96.2 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.9246, allocations: 15.89 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.9246, allocations: 0 / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.9247, allocations: 326.4 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.9247, allocations: 35.47 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.9248, allocations: 54.09 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/0.9249, allocations: 61.95 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9249, allocations: 0 / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002332/0.9252, allocations: 165.9 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.9252, allocations: 41.77 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9252, allocations: 0 / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9252, allocations: 0.75 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.9253, allocations: 7.938 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.9253, allocations: 3.469 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.9255, allocations: 30.7 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.9255, allocations: 12.56 kB / 1.129 GB, free: 31.73 MB / 0.7292 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 7.164e-05/0.9256, allocations: 121.2 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.9256, allocations: 8.562 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.9256, allocations: 11.84 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9257, allocations: 0.5625 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9257, allocations: 4 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9257, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.9258, allocations: 172.2 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9258, allocations: 0.5 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.9258, allocations: 8.562 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9258, allocations: 1.125 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.9258, allocations: 3.938 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9258, allocations: 0 / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9258, allocations: 0 / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.819e-05/0.9259, allocations: 92.64 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.926, allocations: 85.42 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.926, allocations: 0.625 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.926, allocations: 12 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.9261, allocations: 0 / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.9261, allocations: 0 / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.866e-05/0.9261, allocations: 99.33 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9261, allocations: 0 / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002155/0.9264, allocations: 24 kB / 1.129 GB, free: 31.04 MB / 0.7292 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.0003391/0.9267, allocations: 0.644 MB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.9269, allocations: 137.9 kB / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9269, allocations: 0 / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.927, allocations: 15.94 kB / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.9271, allocations: 16.77 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.9277, allocations: 0.6761 MB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.9278, allocations: 0.6902 MB / 1.131 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.9279, allocations: 7.703 kB / 1.131 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.9279, allocations: 11.44 kB / 1.131 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of SimCode: time 4.799e-06/0.9279, allocations: 0 / 1.131 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.9406, allocations: 2.093 MB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.9408, allocations: 196.6 kB / 1.134 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.515, allocations: 0 / 1.134 GB, free: 27.42 MB / 0.7292 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)