Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009001, allocations: 97.97 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009842/0.0009841, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.347/2.347, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 16 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6829, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0009389/0.6839, allocations: 453 kB / 0.9813 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.6848, allocations: 0.7986 MB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.6848, allocations: 0 / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.6848, allocations: 0 / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.337e-05/0.6849, allocations: 3.938 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.094e-05/0.685, allocations: 15.98 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.95e-05/0.6851, allocations: 27.95 kB / 0.9822 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.6852, allocations: 11.98 kB / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.6853, allocations: 11.94 kB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.6854, allocations: 27.84 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.6854, allocations: 0 / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.6854, allocations: 4 kB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.6854, allocations: 0 / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.6855, allocations: 37.64 kB / 0.9822 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.07e-05/0.6855, allocations: 27.92 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6855, allocations: 0 / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.617e-06/0.6856, allocations: 4 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6856, allocations: 3.938 kB / 0.9823 GB, free: 4.848 MB / 0.7325 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.0005967/0.6862, allocations: 381.4 kB / 0.9826 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.6862, allocations: 8.031 kB / 0.9826 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.6863, allocations: 34.56 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.6863, allocations: 4 kB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.6865, allocations: 171 kB / 0.9828 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6865, allocations: 0 / 0.9828 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.6865, allocations: 0 / 0.9828 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.6868, allocations: 93.53 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6868, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6868, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6868, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.6871, allocations: 91.92 kB / 0.983 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.6876, allocations: 268.9 kB / 0.9833 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.6878, allocations: 74.44 kB / 0.9833 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.6878, allocations: 0 / 0.9833 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.6879, allocations: 34.66 kB / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.6879, allocations: 0 / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005711/0.6884, allocations: 169.5 kB / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.6885, allocations: 51.41 kB / 0.9836 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.6886, allocations: 110.3 kB / 0.9837 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.6886, allocations: 33.64 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.6887, allocations: 84.12 kB / 0.9838 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.6887, allocations: 12 kB / 0.9838 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.6888, allocations: 7.938 kB / 0.9838 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6889, allocations: 310.8 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.6891, allocations: 43.95 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.6892, allocations: 43.97 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.6894, allocations: 39.95 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6894, allocations: 8 kB / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003315/0.6897, allocations: 125.5 kB / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6898, allocations: 8 kB / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6898, allocations: 0 / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6898, allocations: 0 / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.69, allocations: 19.98 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.69, allocations: 3.938 kB / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/0.6901, allocations: 19.98 kB / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.6901, allocations: 7.922 kB / 0.9844 GB, free: 2.406 MB / 0.7325 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 9.755e-05/0.6902, allocations: 113.8 kB / 0.9845 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.6902, allocations: 3.953 kB / 0.9845 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.6903, allocations: 8.234 kB / 0.9846 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6903, allocations: 0 / 0.9846 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6903, allocations: 0 / 0.9846 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6903, allocations: 3.984 kB / 0.9846 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.6905, allocations: 173.6 kB / 0.9847 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6905, allocations: 0 / 0.9847 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.6906, allocations: 23.98 kB / 0.9847 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6906, allocations: 0 / 0.9847 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.6906, allocations: 7.953 kB / 0.9848 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6906, allocations: 0 / 0.9848 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6906, allocations: 0 / 0.9848 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.691, allocations: 223.4 kB / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.6911, allocations: 81.05 kB / 0.985 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.6911, allocations: 4 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.6912, allocations: 19.94 kB / 0.9851 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.6913, allocations: 7.984 kB / 0.9851 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.6913, allocations: 0 / 0.9851 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.6914, allocations: 95.2 kB / 0.9852 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6914, allocations: 4 kB / 0.9852 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000216/0.6916, allocations: 11.84 kB / 0.9852 GB, free: 1.543 MB / 0.7325 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.0006919/0.6923, allocations: 0.7437 MB / 0.9859 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.6926, allocations: 91.86 kB / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6927, allocations: 4 kB / 0.986 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.6928, allocations: 51.95 kB / 0.986 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.6931, allocations: 7.953 kB / 0.9861 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.6935, allocations: 170.3 kB / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.6938, allocations: 0.6887 MB / 0.9869 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.6938, allocations: 0 / 0.9869 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.6939, allocations: 11.44 kB / 0.9869 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.6939, allocations: 0 / 0.9869 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.705, allocations: 1.327 MB / 0.9882 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.7053, allocations: 202.7 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.321, allocations: 5.344 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat