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.001284/0.001284, allocations: 99.86 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.002122/0.002122, 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.996/1.996, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.508/3.508, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005255, allocations: 12 kB / 0.8375 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.033, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00142/1.034, allocations: 487.9 kB / 0.9813 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001603/1.036, allocations: 0.8585 MB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/1.036, allocations: 0 / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/1.036, allocations: 11.88 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/1.036, allocations: 7.984 kB / 0.9822 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/1.037, allocations: 27.97 kB / 0.9822 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/1.037, allocations: 47.88 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/1.037, allocations: 19.98 kB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/1.037, allocations: 27.91 kB / 0.9823 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/1.037, allocations: 47.81 kB / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/1.037, allocations: 0 / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/1.037, allocations: 4 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/1.037, allocations: 15.92 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/1.037, allocations: 33.7 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/1.038, allocations: 59.8 kB / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/1.038, allocations: 0 / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.096e-06/1.038, allocations: 0 / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.982e-06/1.038, allocations: 4 kB / 0.9825 GB, free: 4.598 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.0009464/1.039, allocations: 389.4 kB / 0.9828 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.039, allocations: 15.97 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.911e-05/1.039, allocations: 34.56 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/1.039, allocations: 11.91 kB / 0.9829 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/1.039, allocations: 178.9 kB / 0.9831 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/1.039, allocations: 4 kB / 0.9831 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/1.039, allocations: 8 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/1.04, allocations: 113.6 kB / 0.9832 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.04, allocations: 0 / 0.9832 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.04, allocations: 4 kB / 0.9832 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/1.04, allocations: 3.984 kB / 0.9832 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/1.04, allocations: 123.8 kB / 0.9833 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/1.041, allocations: 348.6 kB / 0.9837 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/1.042, allocations: 134.5 kB / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/1.042, allocations: 0 / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.042, allocations: 34.56 kB / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.042, allocations: 4 kB / 0.9838 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.001122/1.043, allocations: 213.6 kB / 0.984 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/1.043, allocations: 59.34 kB / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/1.044, allocations: 117.8 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/1.044, allocations: 29.7 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.044, allocations: 96.03 kB / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/1.044, allocations: 23.69 kB / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/1.044, allocations: 0 / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002035/1.044, allocations: 326.8 kB / 0.9846 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/1.044, allocations: 55.95 kB / 0.9847 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/1.045, allocations: 55.95 kB / 0.9848 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/1.045, allocations: 59.89 kB / 0.9848 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.045, allocations: 0 / 0.9848 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006815/1.046, allocations: 153.5 kB / 0.985 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.046, allocations: 9.094 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.046, allocations: 0 / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/1.046, allocations: 3.984 kB / 0.985 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/1.046, allocations: 31.91 kB / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.046, allocations: 0 / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/1.046, allocations: 19.98 kB / 0.985 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/1.046, allocations: 8 kB / 0.985 GB, free: 1.758 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.0001492/1.046, allocations: 117.8 kB / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/1.047, allocations: 7.906 kB / 0.9851 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/1.047, allocations: 12.36 kB / 0.9852 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.047, allocations: 0 / 0.9852 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.047, allocations: 4 kB / 0.9852 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.047, allocations: 0 / 0.9852 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/1.047, allocations: 205.5 kB / 0.9854 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.047, allocations: 0 / 0.9854 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/1.047, allocations: 27.97 kB / 0.9854 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.047, allocations: 0 / 0.9854 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/1.047, allocations: 4 kB / 0.9854 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.047, allocations: 0 / 0.9854 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.047, allocations: 4.547 kB / 0.9854 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/1.048, allocations: 263.3 kB / 0.9856 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/1.048, allocations: 84.97 kB / 0.9857 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/1.048, allocations: 0 / 0.9857 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.048, allocations: 19.98 kB / 0.9857 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.049, allocations: 23.97 kB / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.049, allocations: 11.98 kB / 0.9858 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.001e-05/1.049, allocations: 99.58 kB / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.049, allocations: 0 / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004278/1.049, allocations: 19.94 kB / 0.9859 GB, free: 0.7734 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.00119/1.05, allocations: 0.7943 MB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006292/1.051, allocations: 119.9 kB / 0.9868 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.051, allocations: 4 kB / 0.9868 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/1.051, allocations: 75.88 kB / 0.9869 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/1.052, allocations: 9.547 kB / 0.9869 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/1.054, allocations: 0.6561 MB / 0.9875 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/1.054, allocations: 0.6926 MB / 0.9882 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001412/1.055, allocations: 12.19 kB / 0.9882 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/1.055, allocations: 31.41 kB / 0.9882 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of SimCode: time 9.71e-07/1.055, allocations: 0 / 0.9882 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/1.076, allocations: 2.222 MB / 0.9904 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/1.077, allocations: 204.6 kB / 0.9906 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/3.465, allocations: 0 / 0.9906 GB, free: 11.95 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