Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001424/0.001424, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001016/0.001016, allocations: 170 kB / 24.86 MB, free: 8.836 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.9886/0.9886, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.823/1.823, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.509e-05, allocations: 4.562 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0012/0.001216, allocations: 0.7173 MB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.002038, allocations: 0.8442 MB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.002075, allocations: 4.938 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002101, allocations: 3.938 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.002173, allocations: 8.828 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.914e-05/0.002232, allocations: 11.98 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.002303, allocations: 47.84 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.002395, allocations: 9.375 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.002476, allocations: 19.92 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.002516, allocations: 23.91 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.002534, allocations: 7 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-06/0.00254, allocations: 4 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.002558, allocations: 7.984 kB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.002577, allocations: 11.98 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.002654, allocations: 31.84 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002657, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.11e-07/0.002657, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.002662, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003221/0.002984, allocations: 373.8 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.003019, allocations: 12.03 kB / 0.7905 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.003045, allocations: 12.89 kB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.003115, allocations: 109.2 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003125, allocations: 5.469 kB / 0.7906 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.003132, allocations: 384 / 0.7906 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.003234, allocations: 66.88 kB / 0.7906 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.00324, allocations: 0.75 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.003249, allocations: 6.156 kB / 0.7907 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.003252, allocations: 384 / 0.7907 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.003274, allocations: 11.92 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.00349, allocations: 244.3 kB / 0.7909 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.003547, allocations: 28.59 kB / 0.7909 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.003568, allocations: 19.62 kB / 0.7909 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.003574, allocations: 0 / 0.7909 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.003595, allocations: 45.47 kB / 0.791 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.003596, allocations: 1.781 kB / 0.791 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001189/0.003715, allocations: 41.64 kB / 0.791 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.00374, allocations: 51.41 kB / 0.7911 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.003798, allocations: 165.9 kB / 0.7912 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.003809, allocations: 36.02 kB / 0.7913 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.00385, allocations: 138.8 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.003864, allocations: 3.953 kB / 0.7914 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.003892, allocations: 23.38 kB / 0.7914 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.004004, allocations: 0.4961 MB / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.004014, allocations: 0 / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.004023, allocations: 0 / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.004047, allocations: 16.22 kB / 0.7919 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.004049, allocations: 0.7188 kB / 0.7919 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.736e-05/0.004106, allocations: 45.92 kB / 0.792 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.004119, allocations: 8.531 kB / 0.792 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-06/0.004124, allocations: 5.641 kB / 0.792 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.004135, allocations: 7.922 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.004199, allocations: 15.92 kB / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.004202, allocations: 0 / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.004225, allocations: 4.625 kB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004229, allocations: 0 / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.4e-05/0.004293, allocations: 157.3 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.004307, allocations: 0.6562 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.004333, allocations: 15.98 kB / 0.7922 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.004335, allocations: 4.469 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.004337, allocations: 0.75 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.00434, allocations: 0 / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.142e-05/0.004432, allocations: 98.62 kB / 0.7923 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.004432, allocations: 4 kB / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.004458, allocations: 7.984 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004459, allocations: 4 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-06/0.004463, allocations: 1.156 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.004463, allocations: 0 / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.004464, allocations: 0 / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.004572, allocations: 200.4 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.004578, allocations: 3.938 kB / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.004588, allocations: 4.688 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.004624, allocations: 8.828 kB / 0.7925 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.004659, allocations: 11.92 kB / 0.7925 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.004661, allocations: 1.875 kB / 0.7925 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.004699, allocations: 127.2 kB / 0.7926 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0047, allocations: 0 / 0.7926 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001343/0.004834, allocations: 4 kB / 0.7926 GB, free: 7.547 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.885e-05/0.004913, allocations: 99.98 kB / 0.7927 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.00499, allocations: 19.69 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.004991, allocations: 2.375 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.005011, allocations: 15.62 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.005196, allocations: 7.984 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.005438, allocations: 144 kB / 0.7929 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.279e-05/0.005471, allocations: 55.34 kB / 0.793 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.005489, allocations: 4 kB / 0.793 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.005545, allocations: 70.7 kB / 0.793 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.005546, allocations: 1.094 kB / 0.793 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of Templates: time 0.002056/0.007602, allocations: 0.8387 MB / 0.7939 GB, free: 6.266 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_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: 4.997693898156285]