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.0009206/0.0009206, 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.0008774/0.0008774, 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.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.377/2.377, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 12 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.7369, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.001083/0.738, allocations: 495.5 kB / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009493/0.739, allocations: 0.8558 MB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.739, allocations: 0.9062 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.7391, allocations: 0 / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.7392, allocations: 14.17 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.7393, allocations: 34.05 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.7394, allocations: 50.34 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.7396, allocations: 22.12 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.7397, allocations: 28.41 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.7398, allocations: 41.36 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.7398, allocations: 2.125 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.7398, allocations: 3.812 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.7398, allocations: 18.41 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.7399, allocations: 33.98 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.991e-05/0.74, allocations: 67.8 kB / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.74, allocations: 0 / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.795e-06/0.74, allocations: 1.25 kB / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.74, allocations: 3.938 kB / 0.9552 GB, free: 6.762 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.0006015/0.7406, allocations: 387.3 kB / 0.9556 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.7407, allocations: 13.91 kB / 0.9556 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.7407, allocations: 36.03 kB / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.7408, allocations: 15.92 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.7409, allocations: 172.7 kB / 0.9558 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.741, allocations: 6.312 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.741, allocations: 11.66 kB / 0.9558 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.7414, allocations: 117 kB / 0.9559 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7414, allocations: 0 / 0.9559 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.7414, allocations: 9.344 kB / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.7415, allocations: 1.344 kB / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.7419, allocations: 122.8 kB / 0.9561 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.7424, allocations: 357.1 kB / 0.9564 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/0.7431, allocations: 131.5 kB / 0.9565 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.7431, allocations: 9.047 kB / 0.9565 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.7431, allocations: 31.5 kB / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.7431, allocations: 0 / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007091/0.7438, allocations: 213.8 kB / 0.9568 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.7439, allocations: 52.59 kB / 0.9568 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.744, allocations: 130.8 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.744, allocations: 26.61 kB / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.7441, allocations: 99.38 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.7441, allocations: 19.03 kB / 0.9571 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.7441, allocations: 4 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.7442, allocations: 317.1 kB / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.7444, allocations: 61.58 kB / 0.9575 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.7446, allocations: 58.19 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.7448, allocations: 57.89 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7448, allocations: 0 / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004138/0.7452, allocations: 160.4 kB / 0.9577 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.7452, allocations: 4.531 kB / 0.9577 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7453, allocations: 1.125 kB / 0.9577 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7453, allocations: 0 / 0.9577 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.7455, allocations: 36.59 kB / 0.9578 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7455, allocations: 1.156 kB / 0.9578 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.7456, allocations: 19.78 kB / 0.9578 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.7456, allocations: 6.641 kB / 0.9578 GB, free: 4.547 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 8.509e-05/0.7457, allocations: 113.6 kB / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.7457, allocations: 18.48 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.7458, allocations: 15.67 kB / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7458, allocations: 0 / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7458, allocations: 0 / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7458, allocations: 1.344 kB / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.746, allocations: 203.5 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.746, allocations: 1.719 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.7461, allocations: 28.06 kB / 0.9582 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7462, allocations: 6.031 kB / 0.9582 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7462, allocations: 11.94 kB / 0.9582 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.7462, allocations: 3.984 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7462, allocations: 5.844 kB / 0.9582 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.7466, allocations: 245.6 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.7467, allocations: 87.33 kB / 0.9585 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.7467, allocations: 5.188 kB / 0.9585 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.7469, allocations: 28.2 kB / 0.9585 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.747, allocations: 15.02 kB / 0.9585 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.747, allocations: 9.453 kB / 0.9586 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.747, allocations: 97.77 kB / 0.9586 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.747, allocations: 1.5 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002309/0.7473, allocations: 15.28 kB / 0.9587 GB, free: 3.734 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.0006513/0.7479, allocations: 0.7888 MB / 0.9594 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.7484, allocations: 131.5 kB / 0.9596 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7484, allocations: 0 / 0.9596 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.7486, allocations: 77.2 kB / 0.9596 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.7489, allocations: 15.91 kB / 0.9596 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.7502, allocations: 0.6689 MB / 0.9603 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.7504, allocations: 0.6961 MB / 0.961 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.31e-05/0.7505, allocations: 10.66 kB / 0.961 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.7505, allocations: 33.47 kB / 0.961 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of SimCode: time 4.6e-07/0.7505, allocations: 0 / 0.961 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.7659, allocations: 2.277 MB / 0.9632 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.7662, allocations: 193.3 kB / 0.9634 GB, free: 364 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.502, allocations: 0 / 0.9634 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