Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.328/2.328, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001159/0.001159, allocations: 181 kB / 498.1 MB, free: 5.75 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.547/1.547, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.001015/0.001015, allocations: 102.4 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 12.66 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.49, allocations: 148.8 MB / 1.368 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4903, allocations: 75.94 kB / 1.368 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001776/0.4921, allocations: 0.6719 MB / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.345e-06/0.4921, allocations: 0 / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.4921, allocations: 0 / 1.369 GB, free: 12.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004078/0.4925, allocations: 347.2 kB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4926, allocations: 12.03 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.4926, allocations: 34.5 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.4927, allocations: 3.984 kB / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4928, allocations: 171 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4928, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4928, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.493, allocations: 57.67 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.493, allocations: 0 / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.4931, allocations: 0 / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4931, allocations: 0 / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.4933, allocations: 47.95 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.4936, allocations: 248.9 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4937, allocations: 46.5 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.4938, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4938, allocations: 34.56 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.4938, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003823/0.4942, allocations: 105.7 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.4942, allocations: 55.34 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.4943, allocations: 100.9 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.4943, allocations: 25.7 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.4944, allocations: 80.14 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.4944, allocations: 3.906 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4944, allocations: 0 / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4945, allocations: 318.8 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.4946, allocations: 24 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.4947, allocations: 23.98 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.333e-05/0.4948, allocations: 20.05 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4948, allocations: 0 / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.495, allocations: 73.66 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4951, allocations: 13.97 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4951, allocations: 0 / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4951, allocations: 4.031 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.4952, allocations: 15.92 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4952, allocations: 0 / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.4953, allocations: 8 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4953, allocations: 7.953 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.362e-05/0.4954, allocations: 113.8 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.4954, allocations: 4 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.4956, allocations: 84.78 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4957, allocations: 0 / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4957, allocations: 0 / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4957, allocations: 0 / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.4958, allocations: 157.6 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4958, allocations: 7.969 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.4959, allocations: 11.98 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.4959, allocations: 0 / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4959, allocations: 0 / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.496, allocations: 11.94 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.496, allocations: 0 / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.4962, allocations: 171.5 kB / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.4963, allocations: 85.02 kB / 1.371 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4963, allocations: 3.984 kB / 1.371 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.4964, allocations: 8 kB / 1.371 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.4964, allocations: 8.016 kB / 1.371 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.4964, allocations: 0 / 1.371 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.4965, allocations: 79.28 kB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4965, allocations: 0 / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001977/0.4967, allocations: 4 kB / 1.372 GB, free: 9.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006033/0.4973, allocations: 0.7122 MB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4975, allocations: 51.98 kB / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4975, allocations: 0 / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.4976, allocations: 23.98 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.4978, allocations: 7.938 kB / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.4982, allocations: 146.4 kB / 1.372 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.4985, allocations: 0.677 MB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.4985, allocations: 0 / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.4986, allocations: 11.44 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of SimCode: time 3e-07/0.4986, allocations: 0 / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.5118, allocations: 0.9914 MB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.512, allocations: 174.7 kB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/1.949, allocations: 1.406 kB / 1.374 GB, free: 6.668 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat does not exist to compare? outputFormat=mat