Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",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.529/2.529, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001206/0.001206, allocations: 177.1 kB / 498.1 MB, free: 5.684 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.601/1.601, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0008236/0.0008232, allocations: 88.28 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 9 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3179, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.5207, allocations: 149.4 MB / 1.369 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.521, allocations: 83.94 kB / 1.369 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002426/0.5234, allocations: 0.8743 MB / 1.37 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5234, allocations: 0 / 1.37 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.5235, allocations: 0 / 1.37 GB, free: 2.949 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005548/0.524, allocations: 379.1 kB / 1.37 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.5241, allocations: 8.031 kB / 1.37 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.5242, allocations: 38.55 kB / 1.37 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.5242, allocations: 0 / 1.37 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.5244, allocations: 178.9 kB / 1.37 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5244, allocations: 0 / 1.37 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.5244, allocations: 4 kB / 1.37 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.5247, allocations: 77.66 kB / 1.37 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5247, allocations: 0 / 1.37 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5247, allocations: 3.984 kB / 1.37 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5247, allocations: 4 kB / 1.37 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.5251, allocations: 87.81 kB / 1.371 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.5256, allocations: 312.9 kB / 1.371 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.5259, allocations: 66.55 kB / 1.371 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.5259, allocations: 96 / 1.371 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5259, allocations: 42.48 kB / 1.371 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.5259, allocations: 3.938 kB / 1.371 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005678/0.5265, allocations: 165.6 kB / 1.371 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5265, allocations: 55.36 kB / 1.371 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.5266, allocations: 105.2 kB / 1.371 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.5267, allocations: 25.7 kB / 1.371 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.5267, allocations: 96.03 kB / 1.371 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.5268, allocations: 3.906 kB / 1.371 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.5268, allocations: 0 / 1.371 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5269, allocations: 314.8 kB / 1.372 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.5271, allocations: 47.95 kB / 1.372 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.5273, allocations: 43.97 kB / 1.372 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.5274, allocations: 43.91 kB / 1.372 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5274, allocations: 0 / 1.372 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003531/0.5278, allocations: 121.6 kB / 1.372 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5278, allocations: 4.938 kB / 1.372 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5278, allocations: 0 / 1.372 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5279, allocations: 4 kB / 1.372 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.528, allocations: 23.98 kB / 1.372 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.528, allocations: 0 / 1.372 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.5281, allocations: 27.78 kB / 1.372 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.5281, allocations: 0 / 1.372 GB, free: 496 kB / 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 (3): * Single equations (assignments): 3 * 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 0.0001016/0.5282, allocations: 117.8 kB / 1.372 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.5283, allocations: 4 kB / 1.372 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.5283, allocations: 7.906 kB / 1.372 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5283, allocations: 0 / 1.372 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5283, allocations: 0 / 1.372 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5283, allocations: 0 / 1.372 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.5285, allocations: 173.6 kB / 1.372 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5285, allocations: 11.94 kB / 1.372 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5287, allocations: 19.98 kB / 1.372 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5287, allocations: 3.938 kB / 1.372 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5287, allocations: 4 kB / 1.372 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5287, allocations: 384 / 1.372 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5287, allocations: 0 / 1.372 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.5292, allocations: 223.3 kB / 1.373 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.5292, allocations: 77.11 kB / 1.373 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.5292, allocations: 7.938 kB / 1.373 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5294, allocations: 15.98 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.5294, allocations: 11.98 kB / 1.373 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.5294, allocations: 0 / 1.373 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.48e-05/0.5295, allocations: 87.28 kB / 1.373 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5295, allocations: 3.938 kB / 1.373 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002083/0.5297, allocations: 8 kB / 1.373 GB, free: 15.62 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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.0007035/0.5304, allocations: 0.7551 MB / 1.373 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.5308, allocations: 92.34 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5308, allocations: 0 / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.531, allocations: 59.89 kB / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.5312, allocations: 4 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.5317, allocations: 162.3 kB / 1.374 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5319, allocations: 0.6848 MB / 1.374 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.532, allocations: 8.188 kB / 1.374 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.532, allocations: 11.44 kB / 1.374 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of SimCode: time 6.52e-07/0.532, allocations: 0 / 1.374 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.5457, allocations: 1.321 MB / 1.376 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.5459, allocations: 204.9 kB / 1.376 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.132, allocations: 0 / 1.376 GB, free: 12.33 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat