Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001166/0.001166, allocations: 173 kB / 498.1 MB, free: 5.758 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.477/1.477, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.00092/0.0009198, allocations: 87.84 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 13.97 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4572, allocations: 149.5 MB / 1.369 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4575, allocations: 75.89 kB / 1.369 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006095/0.4636, allocations: 2.006 MB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4636, allocations: 0 / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4637, allocations: 0 / 1.371 GB, free: 10.43 MB / 0.8698 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.0005091/0.4642, allocations: 402.6 kB / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4642, allocations: 8.031 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.4643, allocations: 38.55 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.4644, allocations: 4 kB / 1.371 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.4645, allocations: 182.9 kB / 1.372 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4646, allocations: 3.938 kB / 1.372 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.4646, allocations: 8 kB / 1.372 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.4647, allocations: 45.69 kB / 1.372 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.4647, allocations: 0 / 1.372 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4647, allocations: 3.984 kB / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.4647, allocations: 4 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.4648, allocations: 15.94 kB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.4653, allocations: 328.8 kB / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.4654, allocations: 26.58 kB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.4654, allocations: 0 / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.4656, allocations: 71.38 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.4656, allocations: 0 / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002329/0.4658, allocations: 77.58 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.4659, allocations: 63.36 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.466, allocations: 112.9 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.466, allocations: 29.7 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.4661, allocations: 92.12 kB / 1.372 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.4661, allocations: 3.906 kB / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.4661, allocations: 12 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4663, allocations: 310.8 kB / 1.373 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.4664, allocations: 43.97 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4665, allocations: 58.5 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.4666, allocations: 61.69 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4666, allocations: 0 / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002888/0.4669, allocations: 167.2 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.467, allocations: 35.27 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.467, allocations: 4.078 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.467, allocations: 0 / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/0.467, allocations: 4 kB / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4671, allocations: 3.984 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4673, allocations: 43.97 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.4673, allocations: 4 kB / 1.373 GB, free: 7.953 MB / 0.8698 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 0.0001048/0.4674, allocations: 117.8 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.4674, allocations: 15.78 kB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.4675, allocations: 15.83 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4675, allocations: 0 / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4675, allocations: 0 / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4675, allocations: 0 / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.4677, allocations: 177.6 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4677, allocations: 0 / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.4677, allocations: 0 / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4677, allocations: 4 kB / 1.373 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.4677, allocations: 3.984 kB / 1.373 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4677, allocations: 4.062 kB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4677, allocations: 0 / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.4679, allocations: 92.98 kB / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.4679, allocations: 77.11 kB / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4679, allocations: 7.984 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.468, allocations: 0 / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.468, allocations: 4 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.468, allocations: 4 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.265e-05/0.4681, allocations: 99.2 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4681, allocations: 0 / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00023/0.4683, allocations: 31.94 kB / 1.374 GB, free: 7.211 MB / 0.8698 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.0004995/0.4688, allocations: 0.6434 MB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.4691, allocations: 139.3 kB / 1.374 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4691, allocations: 0 / 1.374 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.4692, allocations: 16 kB / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4694, allocations: 20.05 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.4701, allocations: 0.6679 MB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.4704, allocations: 0.6887 MB / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.4704, allocations: 192 / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.4705, allocations: 23.42 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of SimCode: time 5.28e-06/0.4705, allocations: 0 / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.4846, allocations: 2.09 MB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.4849, allocations: 193.1 kB / 1.378 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.02, allocations: 0 / 1.378 GB, free: 2.711 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat