Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",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.00102/0.00102, allocations: 91.84 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.001321/0.001321, 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.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.629/2.629, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004481, allocations: 8 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7975, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001044/0.7986, allocations: 487.8 kB / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.7998, allocations: 0.8585 MB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.7999, allocations: 3.938 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.7999, allocations: 3.938 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.8, allocations: 7.922 kB / 0.9825 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.8002, allocations: 31.97 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.8004, allocations: 79.75 kB / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.8005, allocations: 19.98 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.8006, allocations: 23.92 kB / 0.9826 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.8007, allocations: 43.81 kB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.8008, allocations: 4 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.8008, allocations: 4 kB / 0.9827 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.8008, allocations: 15.92 kB / 0.9827 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.8009, allocations: 33.7 kB / 0.9827 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.801, allocations: 63.84 kB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.801, allocations: 0 / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.801, allocations: 0 / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.801, allocations: 4 kB / 0.9828 GB, free: 4.539 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.0006699/0.8017, allocations: 385.3 kB / 0.9831 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.8018, allocations: 8.031 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.8018, allocations: 42.55 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.8019, allocations: 7.906 kB / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.802, allocations: 174.9 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.8021, allocations: 8 kB / 0.9834 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.8021, allocations: 4 kB / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.8024, allocations: 113.6 kB / 0.9835 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.8024, allocations: 4 kB / 0.9835 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.8025, allocations: 4 kB / 0.9835 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.8025, allocations: 0 / 0.9835 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.8029, allocations: 131.8 kB / 0.9836 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.8036, allocations: 348.6 kB / 0.984 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.8042, allocations: 130.5 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.8044, allocations: 76.8 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.8045, allocations: 0 / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.8045, allocations: 30.56 kB / 0.9842 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8045, allocations: 0 / 0.9842 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006972/0.8052, allocations: 221.4 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.8053, allocations: 51.41 kB / 0.9844 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.8054, allocations: 125.8 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.8054, allocations: 25.7 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.8055, allocations: 96.03 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.8055, allocations: 19.75 kB / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.8055, allocations: 0 / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8057, allocations: 326.8 kB / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.8059, allocations: 55.95 kB / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.806, allocations: 59.89 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.8062, allocations: 51.97 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8062, allocations: 0 / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003928/0.8066, allocations: 158 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8066, allocations: 5.406 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8066, allocations: 4 kB / 0.9853 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.8067, allocations: 4 kB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.8068, allocations: 31.91 kB / 0.9854 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.8069, allocations: 4.062 kB / 0.9854 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.807, allocations: 19.98 kB / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.8071, allocations: 11.98 kB / 0.9854 GB, free: 1.633 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 (sub.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.0001129/0.8072, allocations: 113.8 kB / 0.9855 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.8072, allocations: 11.89 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.8073, allocations: 16.31 kB / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8073, allocations: 0 / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8073, allocations: 0 / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8073, allocations: 0 / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.8075, allocations: 205.5 kB / 0.9857 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8075, allocations: 0 / 0.9857 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.8077, allocations: 31.97 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8077, allocations: 0 / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.8077, allocations: 7.984 kB / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8077, allocations: 0 / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8077, allocations: 7.938 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.8082, allocations: 243.4 kB / 0.986 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.8082, allocations: 92.95 kB / 0.9861 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.8083, allocations: 4 kB / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.8084, allocations: 19.98 kB / 0.9861 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.8085, allocations: 19.97 kB / 0.9861 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.8085, allocations: 0 / 0.9861 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.8086, allocations: 95.27 kB / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8086, allocations: 0 / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002481/0.8088, allocations: 19.94 kB / 0.9862 GB, free: 0.6641 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 (sub.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.0008341/0.8097, allocations: 0.8021 MB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.8101, allocations: 123.9 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8101, allocations: 0 / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.8103, allocations: 75.89 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.8108, allocations: 17.3 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.8121, allocations: 0.6487 MB / 0.9879 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.8124, allocations: 0.6965 MB / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.8125, allocations: 8.172 kB / 0.9886 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.8126, allocations: 23.42 kB / 0.9886 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.8126, allocations: 8 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.8263, allocations: 2.245 MB / 0.9908 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.8266, allocations: 197.7 kB / 0.991 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.754, allocations: 3.938 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat