Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_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_latest_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.00127/0.00127, allocations: 99.55 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.001838/0.001839, 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.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.453/2.453, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 16 kB / 0.8375 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6394, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.0009029/0.6404, allocations: 495.2 kB / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009041/0.6413, allocations: 0.8546 MB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.6414, allocations: 4 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.6414, allocations: 3.938 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.6415, allocations: 4 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.6417, allocations: 39.89 kB / 0.9822 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.421e-05/0.6418, allocations: 43.94 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.6419, allocations: 24.2 kB / 0.9823 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.642, allocations: 27.86 kB / 0.9823 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.1e-05/0.6421, allocations: 43.81 kB / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.6421, allocations: 4 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.6421, allocations: 8 kB / 0.9824 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.6422, allocations: 11.98 kB / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.6422, allocations: 41.58 kB / 0.9824 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.6423, allocations: 67.83 kB / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.6423, allocations: 0 / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6423, allocations: 0 / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.6423, allocations: 0 / 0.9825 GB, free: 4.582 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.0006645/0.643, allocations: 389.3 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.643, allocations: 12.03 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.6431, allocations: 34.56 kB / 0.9829 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.6431, allocations: 7.906 kB / 0.9829 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.6433, allocations: 178.9 kB / 0.9831 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.6433, allocations: 4 kB / 0.9831 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.6433, allocations: 4 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.6436, allocations: 124.8 kB / 0.9832 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.6436, allocations: 0 / 0.9832 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.6437, allocations: 4 kB / 0.9832 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6437, allocations: 4 kB / 0.9832 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.6441, allocations: 119.9 kB / 0.9833 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.6446, allocations: 356.5 kB / 0.9837 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.6453, allocations: 138.5 kB / 0.9838 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.6453, allocations: 3.984 kB / 0.9838 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6454, allocations: 34.56 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.6454, allocations: 0 / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000764/0.6462, allocations: 221.5 kB / 0.9841 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.6462, allocations: 55.41 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6463, allocations: 121.8 kB / 0.9842 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.6464, allocations: 29.7 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.6464, allocations: 96.03 kB / 0.9844 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.6465, allocations: 23.66 kB / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.6465, allocations: 0 / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6466, allocations: 330.7 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.6468, allocations: 55.95 kB / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.647, allocations: 60.27 kB / 0.9848 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.6472, allocations: 60.03 kB / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6472, allocations: 0 / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004396/0.6477, allocations: 153.6 kB / 0.985 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6477, allocations: 4 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6477, allocations: 0 / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6477, allocations: 4 kB / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.6479, allocations: 27.97 kB / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6479, allocations: 4 kB / 0.985 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.6481, allocations: 27.88 kB / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.6481, allocations: 3.938 kB / 0.9851 GB, free: 1.727 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.0001188/0.6482, allocations: 121.8 kB / 0.9852 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.6482, allocations: 4 kB / 0.9852 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.6483, allocations: 12.38 kB / 0.9852 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6483, allocations: 7.984 kB / 0.9852 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6483, allocations: 0 / 0.9852 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6483, allocations: 0 / 0.9852 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.6485, allocations: 209.5 kB / 0.9854 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6485, allocations: 0 / 0.9854 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.6487, allocations: 35.97 kB / 0.9854 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6487, allocations: 0 / 0.9854 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.6487, allocations: 0 / 0.9854 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6487, allocations: 0 / 0.9854 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6487, allocations: 4 kB / 0.9855 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.6492, allocations: 255.3 kB / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.6493, allocations: 89 kB / 0.9858 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.6493, allocations: 0 / 0.9858 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.6495, allocations: 19.98 kB / 0.9858 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.6496, allocations: 23.97 kB / 0.9858 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.6496, allocations: 7.984 kB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.6496, allocations: 91.27 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6497, allocations: 0 / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002343/0.6499, allocations: 19.91 kB / 0.9859 GB, free: 0.7461 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.0007722/0.6507, allocations: 0.802 MB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.6511, allocations: 123.9 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6511, allocations: 0 / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.6514, allocations: 79.88 kB / 0.9869 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.6516, allocations: 11.94 kB / 0.9869 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.6531, allocations: 0.6551 MB / 0.9876 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.6535, allocations: 0.6965 MB / 0.9882 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.6536, allocations: 8.188 kB / 0.9883 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.6537, allocations: 35.41 kB / 0.9883 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.6537, allocations: 7.938 kB / 0.9883 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.6679, allocations: 2.283 MB / 0.9905 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.6681, allocations: 194.3 kB / 0.9907 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.349, allocations: 4 kB / 0.9907 GB, free: 11.87 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat