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.345/2.345, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001392/0.001392, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001163/0.001163, allocations: 83.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.085e-05, allocations: 6.734 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2954, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8952/1.191, allocations: 150.2 MB / 1.366 GB, free: 3.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.191, allocations: 70.2 kB / 1.366 GB, free: 3.781 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005876/1.197, allocations: 1.999 MB / 1.368 GB, free: 2.062 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.216e-06/1.197, allocations: 0 / 1.368 GB, free: 2.062 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.197, allocations: 3.938 kB / 1.368 GB, free: 2.059 MB / 0.823 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.0003517/1.197, allocations: 379.6 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.197, allocations: 12.03 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/1.197, allocations: 34.55 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/1.197, allocations: 7.906 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/1.197, allocations: 182.3 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/1.198, allocations: 3.984 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/1.198, allocations: 4 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/1.198, allocations: 45.69 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/1.198, allocations: 4 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/1.198, allocations: 0 / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/1.198, allocations: 0 / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/1.198, allocations: 15.38 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/1.198, allocations: 333 kB / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/1.198, allocations: 25.95 kB / 1.369 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/1.198, allocations: 16.22 kB / 1.369 GB, free: 0.918 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/1.198, allocations: 0 / 1.369 GB, free: 0.918 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/1.198, allocations: 66.66 kB / 1.369 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/1.198, allocations: 0 / 1.369 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001677/1.199, allocations: 76.59 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/1.199, allocations: 51.41 kB / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/1.199, allocations: 111.5 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/1.199, allocations: 29.7 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/1.199, allocations: 87.81 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/1.199, allocations: 7.906 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/1.199, allocations: 7.062 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.199, allocations: 326.6 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/1.199, allocations: 34.56 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/1.199, allocations: 59.88 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/1.199, allocations: 63 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.199, allocations: 0 / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002751/1.199, allocations: 162.5 kB / 1.37 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/1.2, allocations: 37.58 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.2, allocations: 4.062 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.2, allocations: 0 / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/1.2, allocations: 4 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.2, allocations: 7.938 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/1.2, allocations: 31.97 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/1.2, allocations: 11.81 kB / 1.37 GB, free: 15.78 MB / 0.8386 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 6.82e-05/1.2, allocations: 109 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/1.2, allocations: 3.906 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/1.2, allocations: 11.09 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.2, allocations: 3.984 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.2, allocations: 3.938 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.2, allocations: 3.953 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/1.2, allocations: 178.8 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.2, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/1.2, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.2, allocations: 4 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/1.2, allocations: 7.984 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.2, allocations: 0 / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.2, allocations: 0 / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/1.2, allocations: 87.16 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/1.2, allocations: 85.02 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/1.2, allocations: 3.984 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/1.2, allocations: 3.125 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/1.2, allocations: 8 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/1.2, allocations: 0 / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.231e-05/1.201, allocations: 102.5 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.201, allocations: 3.938 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002043/1.201, allocations: 24 kB / 1.37 GB, free: 15.09 MB / 0.8386 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.0004022/1.201, allocations: 0.6374 MB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001882/1.201, allocations: 135.5 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.201, allocations: 4 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/1.201, allocations: 15.44 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/1.202, allocations: 15.86 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/1.202, allocations: 122.4 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/1.202, allocations: 0.6933 MB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.369e-05/1.202, allocations: 4.125 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/1.202, allocations: 21.92 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.202, allocations: 0 / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/1.215, allocations: 2.126 MB / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.215, allocations: 172 kB / 1.374 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/2.668, allocations: 0 / 1.374 GB, free: 11.23 MB / 0.8386 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