Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.576/2.576, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 180 kB / 0.4901 GB, free: 2.211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.1 MB / 0.7992 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 97.7 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 11.86 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.4811, allocations: 150.3 MB / 1.376 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4813, allocations: 67.97 kB / 1.376 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005816/0.4871, allocations: 2.021 MB / 1.378 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4872, allocations: 0 / 1.378 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.4872, allocations: 4 kB / 1.378 GB, free: 12.8 MB / 0.8855 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.0004582/0.4877, allocations: 389.6 kB / 1.378 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4877, allocations: 8.562 kB / 1.378 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.4878, allocations: 34.56 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.4878, allocations: 7.906 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.488, allocations: 182.9 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.488, allocations: 8 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.488, allocations: 4 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/0.4881, allocations: 45.62 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4881, allocations: 0 / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4882, allocations: 0 / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4882, allocations: 4 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.4882, allocations: 12 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.4887, allocations: 332.8 kB / 1.379 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.4888, allocations: 38.44 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.4888, allocations: 0 / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.489, allocations: 71.45 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.489, allocations: 0 / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002214/0.4892, allocations: 73.59 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4893, allocations: 59.3 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4894, allocations: 120.9 kB / 1.379 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4894, allocations: 29.7 kB / 1.379 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.4895, allocations: 88.14 kB / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.4895, allocations: 7.906 kB / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.4895, allocations: 4 kB / 1.38 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4897, allocations: 322.8 kB / 1.38 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.4898, allocations: 35.98 kB / 1.38 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.4899, allocations: 54.56 kB / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.49, allocations: 61.69 kB / 1.38 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.49, allocations: 4 kB / 1.38 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002767/0.4903, allocations: 163.2 kB / 1.38 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.4903, allocations: 38.95 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4903, allocations: 3.984 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4903, allocations: 0 / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.4904, allocations: 4 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4904, allocations: 0 / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4906, allocations: 47.92 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.4906, allocations: 8 kB / 1.38 GB, free: 10.33 MB / 0.8855 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 9.771e-05/0.4907, allocations: 113.8 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.4908, allocations: 11.89 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.4908, allocations: 3.906 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4908, allocations: 0 / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4908, allocations: 4 kB / 1.38 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4908, allocations: 0 / 1.38 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.491, allocations: 177.6 kB / 1.381 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.491, allocations: 0 / 1.381 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.491, allocations: 4 kB / 1.381 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.491, allocations: 3.938 kB / 1.381 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.491, allocations: 4 kB / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.491, allocations: 0 / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.491, allocations: 4.062 kB / 1.381 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.4912, allocations: 89.02 kB / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.4912, allocations: 96.94 kB / 1.381 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4912, allocations: 0 / 1.381 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.4913, allocations: 4 kB / 1.381 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.4913, allocations: 0 / 1.381 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4913, allocations: 0 / 1.381 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.4914, allocations: 99.45 kB / 1.381 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4914, allocations: 0 / 1.381 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002226/0.4916, allocations: 27.98 kB / 1.381 GB, free: 9.605 MB / 0.8855 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.0004619/0.4921, allocations: 0.6447 MB / 1.381 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4923, allocations: 143.2 kB / 1.382 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4923, allocations: 0 / 1.382 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.4924, allocations: 16.08 kB / 1.382 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.4926, allocations: 20.11 kB / 1.382 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.4932, allocations: 0.6713 MB / 1.382 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4934, allocations: 0.6896 MB / 1.383 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.4935, allocations: 8.172 kB / 1.383 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.4935, allocations: 11.44 kB / 1.383 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.4935, allocations: 0 / 1.383 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.5066, allocations: 2.107 MB / 1.385 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.5068, allocations: 193.8 kB / 1.385 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.149, allocations: 5.125 kB / 1.385 GB, free: 5.113 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat