Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.MultiplyByParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter",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.0009058/0.0009059, allocations: 98.53 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.0009383/0.0009384, allocations: 177.3 kB / 15.94 MB, free: 228 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.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004232, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.83, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.0008361/0.8309, allocations: 389 kB / 0.954 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007478/0.8317, allocations: 0.7869 MB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.8317, allocations: 0 / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.8318, allocations: 0 / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.8318, allocations: 5.062 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.655e-05/0.8319, allocations: 5.328 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.174e-05/0.8319, allocations: 20.08 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.832, allocations: 11.23 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.8321, allocations: 3.031 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.8321, allocations: 14.2 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.8322, allocations: 1.062 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-06/0.8322, allocations: 1.125 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.8322, allocations: 4.953 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.8322, allocations: 26.73 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.629e-05/0.8323, allocations: 20.27 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.8323, allocations: 4 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8323, allocations: 0 / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.8323, allocations: 0 / 0.9549 GB, free: 7.047 MB / 0.7169 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.0003826/0.8327, allocations: 334.8 kB / 0.9552 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.8328, allocations: 13.2 kB / 0.9552 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.8328, allocations: 31.47 kB / 0.9552 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.8328, allocations: 5.922 kB / 0.9552 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.45e-05/0.8329, allocations: 172.4 kB / 0.9554 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.8329, allocations: 1.156 kB / 0.9554 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.8329, allocations: 1.344 kB / 0.9554 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.8331, allocations: 53.98 kB / 0.9554 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8331, allocations: 0 / 0.9554 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.8331, allocations: 0 / 0.9554 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8332, allocations: 5.578 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.8334, allocations: 51.25 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.8337, allocations: 250.7 kB / 0.9557 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.8338, allocations: 51.66 kB / 0.9558 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.8338, allocations: 0 / 0.9558 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.8339, allocations: 31.69 kB / 0.9558 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.8339, allocations: 0 / 0.9558 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004027/0.8343, allocations: 103.5 kB / 0.9559 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.8343, allocations: 55.94 kB / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.8344, allocations: 104.5 kB / 0.9561 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.8344, allocations: 29.64 kB / 0.9561 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.8345, allocations: 85.89 kB / 0.9562 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.8345, allocations: 7.906 kB / 0.9562 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.8345, allocations: 1.469 kB / 0.9562 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.8346, allocations: 314.8 kB / 0.9565 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.8347, allocations: 22.64 kB / 0.9565 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.8347, allocations: 21.95 kB / 0.9565 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.8348, allocations: 22.55 kB / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8348, allocations: 0 / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.835, allocations: 78.69 kB / 0.9566 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8351, allocations: 4.25 kB / 0.9566 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.8351, allocations: 1.094 kB / 0.9566 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8351, allocations: 0 / 0.9566 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.8352, allocations: 20.66 kB / 0.9567 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8352, allocations: 0 / 0.9567 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.8353, allocations: 6.719 kB / 0.9567 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.8353, allocations: 8.016 kB / 0.9567 GB, free: 5.227 MB / 0.7169 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 5.941e-05/0.8353, allocations: 112.5 kB / 0.9568 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.8354, allocations: 4.688 kB / 0.9568 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.8354, allocations: 4.125 kB / 0.9568 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8354, allocations: 1.438 kB / 0.9568 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.8354, allocations: 3.953 kB / 0.9568 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.8354, allocations: 0 / 0.9568 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.8355, allocations: 158 kB / 0.9569 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8355, allocations: 1.406 kB / 0.9569 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.8356, allocations: 11.84 kB / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.8356, allocations: 5.062 kB / 0.957 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.8356, allocations: 0 / 0.957 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8356, allocations: 9.047 kB / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8356, allocations: 0 / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.8359, allocations: 176.4 kB / 0.9571 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.8359, allocations: 82.19 kB / 0.9572 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.8359, allocations: 1.5 kB / 0.9572 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.836, allocations: 5.562 kB / 0.9572 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.836, allocations: 5.391 kB / 0.9572 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.836, allocations: 5.406 kB / 0.9572 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.8361, allocations: 82.94 kB / 0.9573 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8361, allocations: 0 / 0.9573 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002039/0.8363, allocations: 7.328 kB / 0.9573 GB, free: 4.539 MB / 0.7169 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.0004263/0.8367, allocations: 0.7031 MB / 0.958 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.8369, allocations: 58.8 kB / 0.9581 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8369, allocations: 0 / 0.9581 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.837, allocations: 24.77 kB / 0.9581 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.8373, allocations: 4 kB / 0.9581 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.8376, allocations: 140.4 kB / 0.9582 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.8378, allocations: 0.6826 MB / 0.9589 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.8378, allocations: 0 / 0.9589 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.8378, allocations: 16.61 kB / 0.9589 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8378, allocations: 0 / 0.9589 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.8529, allocations: 1.03 MB / 0.9599 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.8531, allocations: 202.7 kB / 0.9601 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.435, allocations: 0 / 0.9601 GB, free: 2.27 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat does not exist to compare? outputFormat=mat