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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 192.7 kB / 487.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 99.59 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.654e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2932, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9202/1.214, allocations: 149.1 MB / 1.352 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.214, allocations: 87.2 kB / 1.352 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00507/1.219, allocations: 1.488 MB / 1.353 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.625e-06/1.219, allocations: 0.6094 kB / 1.353 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.216e-06/1.219, allocations: 3.906 kB / 1.353 GB, free: 33.93 MB / 0.8386 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.0005196/1.22, allocations: 391.7 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.22, allocations: 11.5 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/1.22, allocations: 9.766 kB / 1.354 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/1.22, allocations: 183.5 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.22, allocations: 3.844 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/1.22, allocations: 3.875 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/1.22, allocations: 40.73 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/1.22, allocations: 80.36 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.22, allocations: 4 kB / 1.354 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.22, allocations: 0.6562 kB / 1.354 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.22, allocations: 0 / 1.354 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/1.221, allocations: 319 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/1.221, allocations: 97.27 kB / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/1.221, allocations: 24.5 kB / 1.354 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/1.221, allocations: 0 / 1.354 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/1.221, allocations: 37.78 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/1.221, allocations: 0 / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002105/1.221, allocations: 85.75 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/1.221, allocations: 55.91 kB / 1.355 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/1.222, allocations: 120.9 kB / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/1.222, allocations: 25.7 kB / 1.355 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/1.222, allocations: 92.97 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/1.222, allocations: 20.22 kB / 1.355 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/1.222, allocations: 0 / 1.355 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.222, allocations: 324.9 kB / 1.355 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/1.222, allocations: 23.38 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/1.222, allocations: 26.58 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/1.222, allocations: 20.83 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.222, allocations: 4.406 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/1.222, allocations: 84.31 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.222, allocations: 3.875 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.222, allocations: 0 / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.222, allocations: 3.156 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/1.222, allocations: 31.23 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.222, allocations: 0 / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.222, allocations: 25 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/1.222, allocations: 4.531 kB / 1.355 GB, free: 32.29 MB / 0.8386 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.u1,add1.u2,add1.y) * Number of discrete 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 9.225e-05/1.223, allocations: 106.4 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000163/1.223, allocations: 87.75 kB / 1.355 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/1.223, allocations: 7.406 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/1.223, allocations: 12.75 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.223, allocations: 4.594 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.223, allocations: 7.953 kB / 1.356 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.223, allocations: 0.6562 kB / 1.356 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/1.223, allocations: 172.9 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.223, allocations: 0.5625 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/1.223, allocations: 27.5 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.223, allocations: 0 / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/1.223, allocations: 5.141 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.223, allocations: 0 / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.223, allocations: 4 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/1.223, allocations: 192 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/1.224, allocations: 81.67 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/1.224, allocations: 2.203 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/1.224, allocations: 19.94 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/1.224, allocations: 22.59 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/1.224, allocations: 7.766 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.41e-05/1.224, allocations: 90.91 kB / 1.356 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.224, allocations: 0 / 1.356 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002244/1.224, allocations: 15.95 kB / 1.356 GB, free: 31.65 MB / 0.8386 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.u1,add1.u2,add1.y) * Number of discrete 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.0004747/1.225, allocations: 0.7332 MB / 1.357 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001337/1.225, allocations: 53.41 kB / 1.357 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.225, allocations: 0 / 1.357 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/1.225, allocations: 39.41 kB / 1.357 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/1.225, allocations: 9.422 kB / 1.357 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/1.225, allocations: 155.4 kB / 1.357 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/1.226, allocations: 0.6988 MB / 1.358 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.812e-05/1.226, allocations: 13.14 kB / 1.358 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/1.226, allocations: 27.14 kB / 1.358 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.226, allocations: 0 / 1.358 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/1.247, allocations: 1.942 MB / 1.36 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/1.247, allocations: 149.6 kB / 1.36 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/2.7, allocations: 3.938 kB / 1.36 GB, free: 29.84 MB / 0.8386 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