Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_AddParameter",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.001186/0.001186, allocations: 100.1 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.001397/0.001397, 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.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.352/2.352, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8 kB / 0.8375 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7154, allocations: 146.8 MB / 0.9809 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.0009425/0.7164, allocations: 409.1 kB / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.7174, allocations: 0.7829 MB / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.7174, allocations: 0 / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.7174, allocations: 0 / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.7175, allocations: 3.984 kB / 0.982 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.561e-05/0.7176, allocations: 11.98 kB / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.7176, allocations: 11.98 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.7177, allocations: 15.92 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/0.7178, allocations: 7.938 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.7178, allocations: 7.984 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.7179, allocations: 3.938 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.7179, allocations: 4 kB / 0.9821 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.7179, allocations: 4 kB / 0.9821 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.7179, allocations: 25.7 kB / 0.9821 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.03e-05/0.718, allocations: 15.95 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.718, allocations: 0 / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.718, allocations: 4 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.718, allocations: 0 / 0.9822 GB, free: 4.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004317/0.7184, allocations: 345.6 kB / 0.9825 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7185, allocations: 8.031 kB / 0.9825 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.7185, allocations: 30.56 kB / 0.9825 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.7185, allocations: 11.91 kB / 0.9825 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.7187, allocations: 171 kB / 0.9827 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.7187, allocations: 11.88 kB / 0.9827 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.7187, allocations: 4 kB / 0.9827 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.7189, allocations: 53.64 kB / 0.9828 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7189, allocations: 3.984 kB / 0.9828 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.7189, allocations: 0 / 0.9828 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.7189, allocations: 3.984 kB / 0.9828 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.7191, allocations: 43.97 kB / 0.9828 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.7194, allocations: 253 kB / 0.9831 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.7196, allocations: 50.45 kB / 0.9831 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.7196, allocations: 0 / 0.9831 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.7196, allocations: 38.62 kB / 0.9831 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.7196, allocations: 0 / 0.9831 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003611/0.72, allocations: 93.64 kB / 0.9832 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.7201, allocations: 51.41 kB / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.7202, allocations: 105.8 kB / 0.9834 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.7202, allocations: 33.64 kB / 0.9834 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.7203, allocations: 84.14 kB / 0.9835 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.7203, allocations: 8.031 kB / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.7203, allocations: 0 / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7204, allocations: 318.8 kB / 0.9838 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.7205, allocations: 19.98 kB / 0.9838 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.7206, allocations: 23.98 kB / 0.9838 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.147e-05/0.7207, allocations: 19.98 kB / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7207, allocations: 0 / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.7209, allocations: 89.58 kB / 0.9839 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7209, allocations: 8 kB / 0.984 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7209, allocations: 3.938 kB / 0.984 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.721, allocations: 0 / 0.984 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.7211, allocations: 11.98 kB / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7211, allocations: 0 / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.7211, allocations: 8 kB / 0.984 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.7211, allocations: 4.031 kB / 0.984 GB, free: 2.832 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 (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 9.43e-05/0.7212, allocations: 113.8 kB / 0.9841 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.7213, allocations: 7.953 kB / 0.9841 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.7213, allocations: 7.531 kB / 0.9841 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7213, allocations: 0 / 0.9841 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7213, allocations: 3.938 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7213, allocations: 0 / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.7215, allocations: 161.7 kB / 0.9843 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7215, allocations: 0 / 0.9843 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.7216, allocations: 12 kB / 0.9843 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7216, allocations: 0 / 0.9843 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.7216, allocations: 4.203 kB / 0.9843 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7216, allocations: 0 / 0.9843 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7216, allocations: 7.984 kB / 0.9843 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.7219, allocations: 171.5 kB / 0.9845 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.7219, allocations: 85 kB / 0.9845 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.7219, allocations: 0 / 0.9845 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.722, allocations: 11.95 kB / 0.9845 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.7221, allocations: 7.922 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.7221, allocations: 0 / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.7221, allocations: 87.31 kB / 0.9846 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7221, allocations: 0 / 0.9846 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002122/0.7223, allocations: 4 kB / 0.9846 GB, free: 2.066 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 (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.0005281/0.7229, allocations: 0.7008 MB / 0.9853 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.7231, allocations: 59.92 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7231, allocations: 0 / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.7232, allocations: 19.98 kB / 0.9854 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.7234, allocations: 7.953 kB / 0.9854 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.7238, allocations: 148.1 kB / 0.9855 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.724, allocations: 0.6848 MB / 0.9862 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.7241, allocations: 0 / 0.9862 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.7241, allocations: 11.38 kB / 0.9862 GB, free: 352 kB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7241, allocations: 0 / 0.9862 GB, free: 352 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.7536, allocations: 1.061 MB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.7538, allocations: 208.3 kB / 0.9875 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.347, allocations: 0 / 0.9875 GB, free: 15.22 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_AddParameter.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.AddParameter_res.mat does not exist to compare? outputFormat=mat