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.404/2.404, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.00153/0.00153, allocations: 192.8 kB / 360.6 MB, free: 7.293 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.117/2.117, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001096/0.001096, allocations: 85.06 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.794e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8885/0.8886, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/1.143, allocations: 137.3 MB / 1.097 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.144, allocations: 70.3 kB / 1.098 GB, free: 3.113 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009473/1.153, allocations: 1.989 MB / 1.1 GB, free: 1.168 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/1.153, allocations: 0 / 1.1 GB, free: 1.168 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.153, allocations: 0.5938 kB / 1.1 GB, free: 1.168 MB / 0.698 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.000484/1.154, allocations: 383.4 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.154, allocations: 12.88 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/1.154, allocations: 5.203 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/1.154, allocations: 180.7 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.154, allocations: 4 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/1.154, allocations: 4.688 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.137e-05/1.154, allocations: 11.98 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/1.154, allocations: 38.52 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.154, allocations: 0.5 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/1.154, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/1.154, allocations: 6.625 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/1.155, allocations: 310 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/1.155, allocations: 27.89 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/1.155, allocations: 12.92 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/1.155, allocations: 4.469 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/1.155, allocations: 66.8 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/1.155, allocations: 0 / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002378/1.156, allocations: 61.53 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/1.156, allocations: 54.25 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.156, allocations: 117 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/1.156, allocations: 29.7 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/1.156, allocations: 88.12 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/1.156, allocations: 7.906 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/1.156, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.156, allocations: 328.4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/1.156, allocations: 31.98 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/1.156, allocations: 50.58 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/1.157, allocations: 39.97 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.157, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005342/1.157, allocations: 137.5 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/1.157, allocations: 37.69 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.157, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.157, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/1.157, allocations: 7 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.158, allocations: 3.938 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1.158, allocations: 40.03 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/1.158, allocations: 8 kB / 1.102 GB, free: 14.9 MB / 0.7136 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 () * 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.0001192/1.158, allocations: 116.4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001456/1.158, allocations: 65.58 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/1.158, allocations: 6.062 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/1.158, allocations: 8.344 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.158, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.158, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.158, allocations: 4 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/1.158, allocations: 154.1 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.159, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/1.159, allocations: 3.984 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.159, allocations: 3.938 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/1.159, allocations: 3.938 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.159, allocations: 4 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.159, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/1.159, allocations: 85.08 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/1.159, allocations: 85.02 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/1.159, allocations: 3.984 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/1.159, allocations: 4 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/1.159, allocations: 0 / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/1.159, allocations: 0 / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.697e-05/1.159, allocations: 102.2 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.159, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003387/1.159, allocations: 24 kB / 1.102 GB, free: 14.16 MB / 0.7136 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 () * 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.0005708/1.16, allocations: 0.6343 MB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003121/1.16, allocations: 127.4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.16, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/1.16, allocations: 19.94 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/1.161, allocations: 19.62 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/1.161, allocations: 126.1 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.162, allocations: 0.6923 MB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.949e-05/1.162, allocations: 4.188 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/1.162, allocations: 15.42 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.162, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/1.203, allocations: 1.722 MB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/1.204, allocations: 154.4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.523, allocations: 3.266 kB / 1.106 GB, free: 10.59 MB / 0.7136 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)