Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 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.Integers.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.0008002/0.0008002, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008769/0.0008769, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.309 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.426/2.426, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8191, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.0008541/0.82, allocations: 414.7 kB / 0.9543 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.8209, allocations: 0.8223 MB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.821, allocations: 1.312 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.821, allocations: 0 / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.8211, allocations: 7.922 kB / 0.9551 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.8212, allocations: 25.75 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.489e-05/0.8213, allocations: 33.83 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.8214, allocations: 13.45 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.8215, allocations: 17.95 kB / 0.9552 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.8216, allocations: 26.19 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.8216, allocations: 2.344 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.8216, allocations: 2.594 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.8216, allocations: 9.203 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.8217, allocations: 31.05 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.576e-05/0.8217, allocations: 30.97 kB / 0.9553 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8217, allocations: 0 / 0.9553 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8218, allocations: 0 / 0.9553 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8218, allocations: 0 / 0.9553 GB, free: 6.996 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004055/0.8222, allocations: 353.7 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.8222, allocations: 10.06 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.8223, allocations: 36.12 kB / 0.9556 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.8223, allocations: 9.312 kB / 0.9556 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.8224, allocations: 173.8 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.8224, allocations: 2.031 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.8224, allocations: 2.125 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.8226, allocations: 72.39 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8227, allocations: 0 / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.8227, allocations: 9.047 kB / 0.9559 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8227, allocations: 5.188 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.8229, allocations: 56.2 kB / 0.956 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.8233, allocations: 289.8 kB / 0.9562 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.8235, allocations: 73.22 kB / 0.9563 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8236, allocations: 41.08 kB / 0.9563 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.8236, allocations: 9.375 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.8236, allocations: 34.55 kB / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.8236, allocations: 0 / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003893/0.824, allocations: 124.5 kB / 0.9565 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.8241, allocations: 55.41 kB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.8241, allocations: 107.5 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.8242, allocations: 25.7 kB / 0.9567 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.8242, allocations: 90.58 kB / 0.9568 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.8242, allocations: 13.31 kB / 0.9568 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.8242, allocations: 0 / 0.9568 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.8243, allocations: 320.4 kB / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.8244, allocations: 28.89 kB / 0.9571 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.8245, allocations: 29.22 kB / 0.9571 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.8246, allocations: 29.7 kB / 0.9572 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8246, allocations: 0 / 0.9572 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002173/0.8248, allocations: 103.5 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8248, allocations: 4.781 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8248, allocations: 0 / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8249, allocations: 5.562 kB / 0.9573 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.825, allocations: 18.45 kB / 0.9573 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.825, allocations: 1.375 kB / 0.9573 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.8251, allocations: 13.55 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.8251, allocations: 1.812 kB / 0.9573 GB, free: 5.027 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.711e-05/0.8252, allocations: 111.8 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.8252, allocations: 7.047 kB / 0.9574 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.8252, allocations: 11.89 kB / 0.9574 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8252, allocations: 0.8438 kB / 0.9574 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8252, allocations: 4 kB / 0.9574 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8253, allocations: 2.656 kB / 0.9574 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.8254, allocations: 170 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8254, allocations: 0 / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-05/0.8255, allocations: 23.12 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8255, allocations: 1 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8255, allocations: 4.672 kB / 0.9576 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8255, allocations: 3.938 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8255, allocations: 5.094 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.8258, allocations: 189.5 kB / 0.9578 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.8258, allocations: 78.45 kB / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.8259, allocations: 5.438 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.826, allocations: 13.22 kB / 0.9579 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.826, allocations: 12.92 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.826, allocations: 0.9688 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.8261, allocations: 88.98 kB / 0.958 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8261, allocations: 0 / 0.958 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002215/0.8263, allocations: 11.2 kB / 0.958 GB, free: 4.297 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004306/0.8267, allocations: 0.7336 MB / 0.9587 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.827, allocations: 64.23 kB / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.827, allocations: 0 / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.8271, allocations: 39.12 kB / 0.9588 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.8274, allocations: 14.14 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008325/0.8282, allocations: 477.9 kB / 0.9593 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.8284, allocations: 0.6809 MB / 0.96 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.924e-05/0.8284, allocations: 12.14 kB / 0.96 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.8285, allocations: 13.56 kB / 0.96 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8285, allocations: 0 / 0.96 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.8388, allocations: 1.518 MB / 0.9615 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/0.839, allocations: 197.6 kB / 0.9617 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.569, allocations: 0 / 0.9617 GB, free: 1.473 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat does not exist to compare? outputFormat=mat