Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.304/2.304, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.002034/0.002034, allocations: 183.9 kB / 0.4901 GB, free: 2.258 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.594/1.594, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001057/0.001057, allocations: 110 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 8.375 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4763, allocations: 150.3 MB / 1.376 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4765, allocations: 75.95 kB / 1.376 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01873/0.4953, allocations: 6.205 MB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4953, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.4954, allocations: 4 kB / 1.382 GB, free: 12.81 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008614/0.4962, allocations: 0.5833 MB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4963, allocations: 12.56 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.4964, allocations: 42.5 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.4965, allocations: 35.66 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4967, allocations: 209.8 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.4968, allocations: 16 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.4969, allocations: 24 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.4971, allocations: 116.5 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4971, allocations: 4 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.4971, allocations: 11.98 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4971, allocations: 0 / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.4973, allocations: 55.92 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.4984, allocations: 0.8717 MB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.4985, allocations: 122.4 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.4986, allocations: 0 / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.4989, allocations: 178.7 kB / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.4989, allocations: 0 / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0005123/0.4994, allocations: 225.5 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.4995, allocations: 132.5 kB / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.4998, allocations: 220 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.772e-05/0.4999, allocations: 41.69 kB / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5, allocations: 124.5 kB / 1.385 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.5001, allocations: 35.61 kB / 1.385 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.5001, allocations: 11.98 kB / 1.385 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5003, allocations: 334.8 kB / 1.386 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.5006, allocations: 144.1 kB / 1.386 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.5009, allocations: 223.3 kB / 1.386 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.5012, allocations: 258.7 kB / 1.386 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.5012, allocations: 4 kB / 1.386 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009148/0.5022, allocations: 0.5506 MB / 1.387 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.5023, allocations: 134.8 kB / 1.387 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5023, allocations: 4 kB / 1.387 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.5023, allocations: 4 kB / 1.387 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.5024, allocations: 15.98 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.5024, allocations: 7.938 kB / 1.387 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.5032, allocations: 144.1 kB / 1.387 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.5032, allocations: 31.92 kB / 1.387 GB, free: 7.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002019/0.5034, allocations: 153.6 kB / 1.387 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.5035, allocations: 27.67 kB / 1.387 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.5036, allocations: 25.17 kB / 1.387 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5036, allocations: 0 / 1.387 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5036, allocations: 4 kB / 1.387 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.5036, allocations: 0 / 1.387 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.504, allocations: 261.5 kB / 1.387 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.504, allocations: 0 / 1.387 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.504, allocations: 15.98 kB / 1.387 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.504, allocations: 4 kB / 1.387 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.5041, allocations: 7.953 kB / 1.387 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.5041, allocations: 4 kB / 1.387 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5041, allocations: 0 / 1.387 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.5044, allocations: 256.4 kB / 1.388 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.5045, allocations: 92.92 kB / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.5045, allocations: 7.984 kB / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.5046, allocations: 4 kB / 1.388 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.5046, allocations: 15.98 kB / 1.388 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.5047, allocations: 7.984 kB / 1.388 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001529/0.5048, allocations: 164.5 kB / 1.388 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5048, allocations: 0 / 1.388 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003511/0.5052, allocations: 79.92 kB / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007755/0.506, allocations: 1.01 MB / 1.389 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.5067, allocations: 0.5289 MB / 1.39 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5067, allocations: 4 kB / 1.39 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5068, allocations: 68 kB / 1.39 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.5072, allocations: 59.33 kB / 1.39 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.509, allocations: 2.334 MB / 1.392 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.5093, allocations: 0.7399 MB / 1.393 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.334e-05/0.5094, allocations: 21.53 kB / 1.393 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.5095, allocations: 59.42 kB / 1.393 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.5095, allocations: 0 / 1.393 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.5295, allocations: 5.976 MB / 1.399 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.5297, allocations: 197 kB / 1.399 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.373, allocations: 0 / 1.399 GB, free: 11.21 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat