Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_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.001273/0.001273, allocations: 100.2 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.001394/0.001394, 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.691/1.691, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.024/3.024, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 16 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.071, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001183/1.073, allocations: 483.9 kB / 0.9813 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001211/1.074, allocations: 0.8585 MB / 0.9822 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/1.074, allocations: 0 / 0.9822 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/1.074, allocations: 0 / 0.9822 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.928e-05/1.074, allocations: 19.92 kB / 0.9822 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/1.074, allocations: 27.97 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/1.074, allocations: 47.88 kB / 0.9823 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/1.075, allocations: 15.98 kB / 0.9823 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/1.075, allocations: 31.89 kB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/1.075, allocations: 35.84 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/1.075, allocations: 8 kB / 0.9824 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/1.075, allocations: 4 kB / 0.9824 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/1.075, allocations: 19.95 kB / 0.9824 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/1.075, allocations: 41.58 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/1.075, allocations: 55.88 kB / 0.9825 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/1.075, allocations: 0 / 0.9825 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.216e-06/1.075, allocations: 3.938 kB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.075, allocations: 0 / 0.9825 GB, free: 4.668 MB / 0.7325 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.0008889/1.076, allocations: 389.4 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/1.076, allocations: 8.031 kB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/1.076, allocations: 38.56 kB / 0.9829 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/1.076, allocations: 7.906 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/1.077, allocations: 182.8 kB / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/1.077, allocations: 8 kB / 0.9831 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/1.077, allocations: 4 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/1.077, allocations: 117.6 kB / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.077, allocations: 0 / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/1.077, allocations: 0 / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.077, allocations: 0 / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/1.078, allocations: 119.9 kB / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/1.079, allocations: 356.5 kB / 0.9837 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/1.079, allocations: 126.6 kB / 0.9838 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/1.079, allocations: 8.078 kB / 0.9838 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/1.079, allocations: 30.56 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.295e-06/1.079, allocations: 4 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0009125/1.08, allocations: 213.5 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.08, allocations: 55.41 kB / 0.9841 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/1.081, allocations: 121.8 kB / 0.9842 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.081, allocations: 29.7 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/1.081, allocations: 95.97 kB / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/1.081, allocations: 19.75 kB / 0.9843 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/1.081, allocations: 0 / 0.9843 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.081, allocations: 330.8 kB / 0.9846 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/1.081, allocations: 51.95 kB / 0.9847 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/1.081, allocations: 59.89 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/1.082, allocations: 55.95 kB / 0.9848 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.082, allocations: 0 / 0.9848 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000539/1.082, allocations: 157.5 kB / 0.985 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.082, allocations: 12 kB / 0.985 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.082, allocations: 0 / 0.985 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.082, allocations: 0 / 0.985 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/1.083, allocations: 27.97 kB / 0.985 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/1.083, allocations: 0.5469 kB / 0.985 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.083, allocations: 27.97 kB / 0.985 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/1.083, allocations: 11.98 kB / 0.985 GB, free: 1.832 MB / 0.7325 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 0.0001252/1.083, allocations: 121.7 kB / 0.9851 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/1.083, allocations: 3.906 kB / 0.9851 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/1.083, allocations: 12.38 kB / 0.9852 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.083, allocations: 7.922 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.083, allocations: 0 / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.083, allocations: 0 / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/1.083, allocations: 197.6 kB / 0.9854 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.083, allocations: 4 kB / 0.9854 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/1.084, allocations: 27.97 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.084, allocations: 0 / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.084, allocations: 11.98 kB / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.084, allocations: 0 / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.084, allocations: 0 / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/1.084, allocations: 263.3 kB / 0.9856 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/1.084, allocations: 88.97 kB / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/1.084, allocations: 0 / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.085, allocations: 19.98 kB / 0.9858 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/1.085, allocations: 19.97 kB / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/1.085, allocations: 4 kB / 0.9858 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.787e-05/1.085, allocations: 99.2 kB / 0.9859 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.085, allocations: 0 / 0.9859 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002756/1.085, allocations: 19.94 kB / 0.9859 GB, free: 0.8516 MB / 0.7325 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.001126/1.086, allocations: 0.7904 MB / 0.9867 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004832/1.087, allocations: 127.8 kB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.087, allocations: 0 / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/1.087, allocations: 75.92 kB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/1.087, allocations: 9.547 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/1.089, allocations: 0.6482 MB / 0.9875 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/1.09, allocations: 0.7004 MB / 0.9882 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.486e-05/1.09, allocations: 4.188 kB / 0.9882 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/1.09, allocations: 31.42 kB / 0.9882 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/1.09, allocations: 0 / 0.9882 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/1.108, allocations: 2.233 MB / 0.9904 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/1.108, allocations: 177.9 kB / 0.9906 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.527, allocations: 0 / 0.9906 GB, free: 12.04 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat