Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_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.0007661/0.0007661, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0007924/0.0007924, allocations: 172.7 kB / 15.95 MB, free: 208 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.57/2.57, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 16.2 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.79, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.0008213/0.7908, allocations: 386.5 kB / 0.9815 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.7917, allocations: 0.7807 MB / 0.9823 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.7917, allocations: 4 kB / 0.9823 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.7917, allocations: 3.938 kB / 0.9823 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.7918, allocations: 0 / 0.9823 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.453e-05/0.7919, allocations: 7.984 kB / 0.9823 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.7919, allocations: 15.94 kB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.7921, allocations: 15.97 kB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.7921, allocations: 7.938 kB / 0.9824 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.7922, allocations: 11.98 kB / 0.9824 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.7922, allocations: 3.938 kB / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.7922, allocations: 4 kB / 0.9824 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.7922, allocations: 3.938 kB / 0.9824 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.7922, allocations: 29.7 kB / 0.9824 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.89e-05/0.7923, allocations: 11.97 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.7923, allocations: 7.984 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7923, allocations: 0 / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.7923, allocations: 0 / 0.9824 GB, free: 4.988 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.0004001/0.7927, allocations: 333.6 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7928, allocations: 16.02 kB / 0.9828 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.7928, allocations: 30.56 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.916e-05/0.7929, allocations: 4 kB / 0.9828 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.793, allocations: 167 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.793, allocations: 0 / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.793, allocations: 4 kB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.7932, allocations: 61.56 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7932, allocations: 7.984 kB / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.7932, allocations: 0 / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7932, allocations: 0 / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.7934, allocations: 43.95 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.7937, allocations: 248.9 kB / 0.9833 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.7938, allocations: 46.52 kB / 0.9833 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.7939, allocations: 36.83 kB / 0.9834 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.7939, allocations: 7.938 kB / 0.9834 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.7939, allocations: 30.56 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.794, allocations: 0 / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003139/0.7943, allocations: 101.6 kB / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.7943, allocations: 51.41 kB / 0.9836 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.7944, allocations: 105.9 kB / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.7944, allocations: 25.7 kB / 0.9837 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.7945, allocations: 86.42 kB / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.7945, allocations: 7.906 kB / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.7945, allocations: 0 / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7946, allocations: 319 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.7947, allocations: 19.98 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.7948, allocations: 27.86 kB / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.683e-05/0.7949, allocations: 28.03 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7949, allocations: 0 / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.7951, allocations: 73.62 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7951, allocations: 12.03 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7951, allocations: 0 / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7951, allocations: 0 / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.7952, allocations: 11.98 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.7952, allocations: 0 / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.7953, allocations: 11.98 kB / 0.9843 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.7953, allocations: 0 / 0.9843 GB, free: 2.883 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 7.528e-05/0.7954, allocations: 113.8 kB / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.7954, allocations: 11.86 kB / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.7954, allocations: 3.125 kB / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7954, allocations: 0 / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7954, allocations: 0 / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-06/0.7954, allocations: 3.938 kB / 0.9844 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.7956, allocations: 161.6 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7956, allocations: 4 kB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.7957, allocations: 11.98 kB / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7957, allocations: 4 kB / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.7957, allocations: 3.953 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7957, allocations: 0 / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7957, allocations: 0 / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.7959, allocations: 171.5 kB / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.796, allocations: 81.11 kB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.796, allocations: 0 / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.7961, allocations: 11.94 kB / 0.9848 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.7961, allocations: 4 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.7962, allocations: 3.938 kB / 0.9848 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.7962, allocations: 83.28 kB / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7962, allocations: 0 / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002051/0.7964, allocations: 8.031 kB / 0.9849 GB, free: 2.125 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.000516/0.7969, allocations: 0.7123 MB / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.7971, allocations: 43.97 kB / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7971, allocations: 0 / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.7972, allocations: 35.95 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7975, allocations: 9.359 kB / 0.9857 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.7979, allocations: 134.3 kB / 0.9858 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.7981, allocations: 0.6731 MB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.7981, allocations: 4.062 kB / 0.9865 GB, free: 428 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.7982, allocations: 15.42 kB / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7982, allocations: 0 / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.81, allocations: 1.038 MB / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.8102, allocations: 203.9 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.531, allocations: 1.969 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.fmu > Buildings_latest_Buildings.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.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat does not exist to compare? outputFormat=mat