Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.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 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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Integers_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.0009963/0.0009963, allocations: 92.31 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.001323/0.001323, 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.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.277 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.435/2.435, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003473, allocations: 15.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7983, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.000911/0.7993, allocations: 491.9 kB / 0.9543 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.8001, allocations: 0.8555 MB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.8002, allocations: 1.469 kB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.8002, allocations: 0 / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.951e-05/0.8003, allocations: 13.33 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.8005, allocations: 41.77 kB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.8006, allocations: 71.61 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.8007, allocations: 19.09 kB / 0.9553 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.8008, allocations: 36.06 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.8009, allocations: 40.89 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.8009, allocations: 4.031 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.8009, allocations: 2.844 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.801, allocations: 18.41 kB / 0.9554 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.801, allocations: 33.64 kB / 0.9554 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.957e-05/0.8011, allocations: 59.97 kB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8011, allocations: 0 / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8011, allocations: 1.125 kB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.8011, allocations: 0 / 0.9555 GB, free: 6.809 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000544/0.8017, allocations: 391.4 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8017, allocations: 9.375 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.8018, allocations: 36.78 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.8018, allocations: 19.28 kB / 0.9559 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.8019, allocations: 180.7 kB / 0.9561 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8019, allocations: 2.781 kB / 0.9561 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.802, allocations: 4.062 kB / 0.9561 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.8023, allocations: 121.4 kB / 0.9562 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8023, allocations: 5.453 kB / 0.9562 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.8023, allocations: 0 / 0.9562 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8023, allocations: 1.188 kB / 0.9562 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.8027, allocations: 127.3 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.8031, allocations: 352.3 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.8037, allocations: 132.2 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.8039, allocations: 69.8 kB / 0.9569 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.8039, allocations: 0 / 0.9569 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.8039, allocations: 39.64 kB / 0.9569 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.8039, allocations: 1.25 kB / 0.9569 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006116/0.8045, allocations: 213 kB / 0.9571 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.8046, allocations: 56.52 kB / 0.9572 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.8047, allocations: 126.5 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.8047, allocations: 33.64 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.8047, allocations: 100.2 kB / 0.9574 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.8048, allocations: 14.59 kB / 0.9574 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/0.8048, allocations: 7.938 kB / 0.9574 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.8048, allocations: 321.4 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.805, allocations: 60.77 kB / 0.9578 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.8052, allocations: 56.98 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.8054, allocations: 55.33 kB / 0.9579 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8054, allocations: 0 / 0.9579 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003876/0.8058, allocations: 168.4 kB / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8058, allocations: 6.562 kB / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8058, allocations: 0 / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8058, allocations: 3.984 kB / 0.9581 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.806, allocations: 33.97 kB / 0.9581 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.806, allocations: 0 / 0.9581 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.8061, allocations: 21.39 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.8061, allocations: 5.875 kB / 0.9581 GB, free: 4.543 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.755e-05/0.8062, allocations: 113.8 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.8062, allocations: 9.922 kB / 0.9583 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.8063, allocations: 14.36 kB / 0.9583 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8063, allocations: 5.812 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8063, allocations: 0 / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8063, allocations: 0 / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.8065, allocations: 201.2 kB / 0.9585 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8065, allocations: 0 / 0.9585 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.8066, allocations: 28.88 kB / 0.9585 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8066, allocations: 0 / 0.9585 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.8067, allocations: 9.203 kB / 0.9585 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8067, allocations: 4 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8067, allocations: 0.9688 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.8071, allocations: 255 kB / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.8071, allocations: 87.89 kB / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.8071, allocations: 7.938 kB / 0.9588 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.8073, allocations: 24.3 kB / 0.9589 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.8073, allocations: 23.38 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.8074, allocations: 5.812 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.8074, allocations: 94.05 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8074, allocations: 0 / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002279/0.8076, allocations: 16.47 kB / 0.959 GB, free: 3.742 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005714/0.8082, allocations: 0.7912 MB / 0.9598 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.8086, allocations: 125.6 kB / 0.9599 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8086, allocations: 0 / 0.9599 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.8088, allocations: 71.89 kB / 0.96 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.8091, allocations: 20.86 kB / 0.96 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.8104, allocations: 0.6739 MB / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.8105, allocations: 0.6915 MB / 0.9613 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.789e-05/0.8106, allocations: 9.719 kB / 0.9613 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.8107, allocations: 24.45 kB / 0.9614 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.8107, allocations: 3.938 kB / 0.9614 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.824, allocations: 2.298 MB / 0.9636 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.8242, allocations: 201.1 kB / 0.9638 GB, free: 364 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.545, allocations: 0 / 0.9638 GB, free: 364 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat