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.677/1.677, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001318/0.001318, allocations: 182 kB / 371.6 MB, free: 3.418 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.748/1.748, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.0009191/0.0009191, allocations: 96.11 kB / 0.745 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.53e-05/4.532e-05, allocations: 7.984 kB / 0.8664 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9508/1.238, allocations: 139.1 MB / 1.116 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.239, allocations: 66.98 kB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005435/1.244, allocations: 1.997 MB / 1.118 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.064e-06/1.244, allocations: 0.8438 kB / 1.118 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.244, allocations: 4 kB / 1.118 GB, free: 43.39 MB / 0.7448 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.0003927/1.244, allocations: 384.7 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/1.245, allocations: 8.031 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/1.245, allocations: 30.56 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/1.245, allocations: 8.062 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/1.245, allocations: 183.2 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/1.245, allocations: 7.266 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/1.245, allocations: 5.984 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/1.245, allocations: 43.41 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.245, allocations: 0 / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/1.245, allocations: 4 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/1.245, allocations: 0 / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/1.245, allocations: 17.38 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/1.246, allocations: 332.6 kB / 1.119 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/1.246, allocations: 26.02 kB / 1.119 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/1.246, allocations: 16.73 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/1.246, allocations: 4 kB / 1.119 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/1.246, allocations: 66.39 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/1.246, allocations: 0.6094 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000185/1.246, allocations: 64.98 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/1.246, allocations: 56.06 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/1.246, allocations: 113.2 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/1.246, allocations: 29.7 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/1.246, allocations: 95.39 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/1.246, allocations: 7.656 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/1.246, allocations: 4 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/1.246, allocations: 322.3 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/1.247, allocations: 31.56 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/1.247, allocations: 60.88 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.886e-05/1.247, allocations: 62.02 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.247, allocations: 0 / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002315/1.247, allocations: 159.9 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.247, allocations: 41 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.247, allocations: 0.9375 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.247, allocations: 0.8438 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/1.247, allocations: 4 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.247, allocations: 1.594 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/1.247, allocations: 42.42 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/1.247, allocations: 7.938 kB / 1.12 GB, free: 41.24 MB / 0.7448 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 5.892e-05/1.247, allocations: 108.9 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/1.247, allocations: 11.33 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/1.247, allocations: 7.781 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.247, allocations: 4 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.247, allocations: 0.6875 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.247, allocations: 0.75 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/1.248, allocations: 183.5 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.248, allocations: 3.938 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/1.248, allocations: 0.5625 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.248, allocations: 4 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.248, allocations: 0.8438 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.248, allocations: 0.5469 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.248, allocations: 4.391 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/1.248, allocations: 94.08 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/1.248, allocations: 81.02 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/1.248, allocations: 3.422 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/1.248, allocations: 4 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/1.248, allocations: 0 / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/1.248, allocations: 0 / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.917e-05/1.248, allocations: 104.8 kB / 1.12 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.248, allocations: 0 / 1.12 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002058/1.248, allocations: 27.69 kB / 1.121 GB, free: 40.58 MB / 0.7448 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.0004023/1.249, allocations: 0.6344 MB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002234/1.249, allocations: 136.1 kB / 1.121 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.249, allocations: 0 / 1.121 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/1.249, allocations: 12 kB / 1.121 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/1.249, allocations: 20.7 kB / 1.121 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/1.249, allocations: 131.2 kB / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/1.25, allocations: 0.6878 MB / 1.122 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.048e-05/1.25, allocations: 8.547 kB / 1.122 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/1.25, allocations: 15.19 kB / 1.122 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of SimCode: time 4.7e-07/1.25, allocations: 11.94 kB / 1.122 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/1.264, allocations: 2.121 MB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.264, allocations: 168.3 kB / 1.124 GB, free: 37.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.919, allocations: 3.938 kB / 1.124 GB, free: 37.57 MB / 0.7448 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)