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.275/2.275, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001224/0.001224, allocations: 180.9 kB / 492.3 MB, free: 0.6328 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.672/1.672, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.001025/0.001025, allocations: 87.88 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.54e-05/4.574e-05, allocations: 8 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3079, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9126/1.221, allocations: 149.4 MB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.221, allocations: 73.14 kB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006322/1.227, allocations: 2.005 MB / 1.36 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.227, allocations: 0 / 1.36 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.227, allocations: 0 / 1.36 GB, free: 34.57 MB / 0.8386 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.0003006/1.228, allocations: 379.5 kB / 1.361 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.228, allocations: 8.594 kB / 1.361 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/1.228, allocations: 34.38 kB / 1.361 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/1.228, allocations: 11.44 kB / 1.361 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.228, allocations: 176.2 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.228, allocations: 5.391 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/1.228, allocations: 7.812 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/1.228, allocations: 46.55 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.228, allocations: 0 / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/1.228, allocations: 3.969 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/1.228, allocations: 1.547 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/1.228, allocations: 11.56 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/1.229, allocations: 329 kB / 1.361 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.782e-05/1.229, allocations: 36.7 kB / 1.361 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/1.229, allocations: 14.03 kB / 1.361 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/1.229, allocations: 3.984 kB / 1.361 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/1.229, allocations: 61.27 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/1.229, allocations: 0 / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001727/1.229, allocations: 63.61 kB / 1.362 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/1.229, allocations: 63.2 kB / 1.362 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/1.229, allocations: 117.1 kB / 1.362 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/1.229, allocations: 29.48 kB / 1.362 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/1.229, allocations: 93.03 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/1.229, allocations: 8.859 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.229, allocations: 3.844 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.229, allocations: 315.8 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/1.229, allocations: 33.86 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/1.23, allocations: 59.5 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/1.23, allocations: 62.64 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.23, allocations: 0 / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002334/1.23, allocations: 161.8 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.23, allocations: 34.78 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.23, allocations: 0 / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.23, allocations: 3.938 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.833e-05/1.23, allocations: 9.641 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.23, allocations: 0 / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/1.23, allocations: 45.72 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/1.23, allocations: 5.156 kB / 1.363 GB, free: 32.73 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 8.162e-05/1.23, allocations: 118.4 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/1.23, allocations: 7.75 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/1.23, allocations: 5.297 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.23, allocations: 3.844 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.23, allocations: 0 / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.23, allocations: 0 / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/1.231, allocations: 177.9 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.231, allocations: 3.844 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/1.231, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.231, allocations: 0.7969 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/1.231, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.231, allocations: 7.812 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.231, allocations: 1.125 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.737e-05/1.231, allocations: 96.03 kB / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/1.231, allocations: 78.61 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/1.231, allocations: 0 / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/1.231, allocations: 5.094 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/1.231, allocations: 3.875 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.231, allocations: 5.453 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.096e-05/1.231, allocations: 94.62 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.231, allocations: 3.812 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001947/1.231, allocations: 19.41 kB / 1.363 GB, free: 32.15 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.0003927/1.231, allocations: 0.6414 MB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000181/1.232, allocations: 142.1 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.232, allocations: 3.938 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/1.232, allocations: 18.89 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/1.232, allocations: 15.86 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/1.232, allocations: 124.9 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/1.233, allocations: 0.6891 MB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.64e-05/1.233, allocations: 8.016 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/1.233, allocations: 22.12 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.233, allocations: 0 / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/1.247, allocations: 2.116 MB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.247, allocations: 172.7 kB / 1.367 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.8, allocations: 0 / 1.367 GB, free: 30.19 MB / 0.8386 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