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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9842/0.9842, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.141/2.141, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.547e-06/3.547e-06, allocations: 5.078 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.339e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001639/0.001662, allocations: 0.776 MB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002766, allocations: 0.8962 MB / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.002819, allocations: 0.75 kB / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.002859, allocations: 11.86 kB / 0.8799 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.002952, allocations: 13.25 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.003137, allocations: 44.91 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.003267, allocations: 87.75 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.003402, allocations: 23.92 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.003524, allocations: 48.92 kB / 0.8801 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.003606, allocations: 35.95 kB / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.003637, allocations: 8 kB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.003652, allocations: 9.125 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.003682, allocations: 19.91 kB / 0.8801 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.003721, allocations: 27.92 kB / 0.8802 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.003856, allocations: 72.73 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003858, allocations: 0 / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003859, allocations: 0 / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003863, allocations: 1.094 kB / 0.8802 GB, free: 4.559 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.0004991/0.004362, allocations: 404.3 kB / 0.8806 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.004405, allocations: 8.75 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.004463, allocations: 16.89 kB / 0.8806 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.00457, allocations: 124.9 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.00459, allocations: 5.844 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.004604, allocations: 8.375 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.00478, allocations: 98.89 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.004788, allocations: 8.453 kB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.0048, allocations: 4.75 kB / 0.8809 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.004807, allocations: 0 / 0.8809 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.004879, allocations: 29.08 kB / 0.8809 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.005254, allocations: 323.5 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.00554, allocations: 76.95 kB / 0.8813 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.005584, allocations: 23.69 kB / 0.8813 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.005599, allocations: 9.422 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.005618, allocations: 37.33 kB / 0.8814 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005619, allocations: 0 / 0.8814 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002098/0.005829, allocations: 89 kB / 0.8814 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.005859, allocations: 55.41 kB / 0.8815 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.005945, allocations: 177.9 kB / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.005957, allocations: 25.7 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.006009, allocations: 138.8 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.006033, allocations: 27.78 kB / 0.8818 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.006067, allocations: 23.38 kB / 0.8819 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.00618, allocations: 0.4961 MB / 0.8824 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.006213, allocations: 13.14 kB / 0.8824 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.006242, allocations: 16.23 kB / 0.8824 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.006309, allocations: 41.38 kB / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006311, allocations: 0 / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.006419, allocations: 69.67 kB / 0.8825 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.006432, allocations: 10.03 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006436, allocations: 1.094 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.006448, allocations: 0 / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.00652, allocations: 19.98 kB / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006525, allocations: 3.938 kB / 0.8825 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.006563, allocations: 15.95 kB / 0.8825 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.006571, allocations: 7.922 kB / 0.8825 GB, free: 1.996 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 (reaToInt1.y,reaToInt.y,sub.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.006643, allocations: 160.5 kB / 0.8827 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.006664, allocations: 11.95 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.006689, allocations: 8.438 kB / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00669, allocations: 0 / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006693, allocations: 4 kB / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.006697, allocations: 3.984 kB / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.006806, allocations: 140.5 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.006806, allocations: 0 / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.00686, allocations: 27.97 kB / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006862, allocations: 0 / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.00687, allocations: 0 / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006871, allocations: 0 / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006872, allocations: 0 / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.007018, allocations: 231.8 kB / 0.8831 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.00703, allocations: 11.89 kB / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.007042, allocations: 0 / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.007092, allocations: 11.98 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.007159, allocations: 23.97 kB / 0.8832 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.007164, allocations: 4 kB / 0.8832 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.007206, allocations: 135.6 kB / 0.8833 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007206, allocations: 0 / 0.8833 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001513/0.007357, allocations: 12 kB / 0.8833 GB, free: 1.156 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.269e-05/0.00743, allocations: 103.2 kB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.007546, allocations: 43.61 kB / 0.8834 GB, free: 1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007547, allocations: 4 kB / 0.8834 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/0.007597, allocations: 39.66 kB / 0.8835 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.007787, allocations: 16.27 kB / 0.8835 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.008357, allocations: 174.8 kB / 0.8837 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.019e-05/0.008397, allocations: 64.14 kB / 0.8837 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.008437, allocations: 12 kB / 0.8837 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.008486, allocations: 24.48 kB / 0.8838 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of SimCode: time 1.002e-06/0.008487, allocations: 0 / 0.8838 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of Templates: time 0.002937/0.01142, allocations: 1.726 MB / 0.8854 GB, free: 14.92 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.721394970081747]