Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001422/0.001422, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001655/0.001655, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.147/2.147, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.303e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001597/0.00163, allocations: 0.7899 MB / 0.879 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002657, allocations: 0.9094 MB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.002709, allocations: 4 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.002747, allocations: 7.875 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.818e-05/0.002845, allocations: 12.62 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.003022, allocations: 36.41 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.003124, allocations: 93.25 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.003243, allocations: 19.92 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.003349, allocations: 59.81 kB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.003421, allocations: 35.94 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.003449, allocations: 8.688 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.003464, allocations: 8 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.00349, allocations: 21.27 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.003527, allocations: 27.91 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.00365, allocations: 59.8 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.003653, allocations: 0 / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.685e-06/0.003655, allocations: 5.578 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.003664, allocations: 0 / 0.8802 GB, free: 4.23 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.0004592/0.004123, allocations: 404.3 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.004167, allocations: 13.59 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.004217, allocations: 12.89 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.004328, allocations: 128.4 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.00435, allocations: 384 / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.004366, allocations: 11.38 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.004555, allocations: 98.89 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.004565, allocations: 3.938 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.004577, allocations: 0 / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.004584, allocations: 3.938 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.004661, allocations: 38.66 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.005087, allocations: 327.5 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.005412, allocations: 75.09 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.005466, allocations: 27.67 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.005488, allocations: 0 / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.005512, allocations: 33.39 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.005513, allocations: 0 / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000237/0.00575, allocations: 93.61 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.005782, allocations: 55.41 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.005871, allocations: 173.9 kB / 0.8817 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.005883, allocations: 25.7 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.005937, allocations: 146.8 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.005962, allocations: 27.78 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.006001, allocations: 31.36 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.006121, allocations: 0.4922 MB / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.00616, allocations: 8 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.00619, allocations: 11.98 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/0.006259, allocations: 39.67 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006261, allocations: 0 / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001152/0.006376, allocations: 69.69 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.00639, allocations: 4 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.006395, allocations: 0 / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.006412, allocations: 0 / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.006497, allocations: 27.91 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.006505, allocations: 4 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.006546, allocations: 11.95 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.006553, allocations: 4 kB / 0.8825 GB, free: 1.664 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,add1.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.51e-05/0.006628, allocations: 168.4 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.00665, allocations: 11.95 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.006679, allocations: 8.438 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.006682, allocations: 4 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006685, allocations: 0 / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.00669, allocations: 3.984 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.006812, allocations: 140.5 kB / 0.8829 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006813, allocations: 0 / 0.8829 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.006869, allocations: 19.98 kB / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.006871, allocations: 4 kB / 0.8829 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.006881, allocations: 7.984 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006883, allocations: 0 / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006884, allocations: 3.938 kB / 0.8829 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.007042, allocations: 224.4 kB / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.007052, allocations: 4 kB / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.007065, allocations: 0 / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.007115, allocations: 7.984 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.007181, allocations: 23.97 kB / 0.8831 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.007188, allocations: 4 kB / 0.8831 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.007232, allocations: 139.2 kB / 0.8833 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007232, allocations: 0 / 0.8833 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001538/0.007386, allocations: 19.89 kB / 0.8833 GB, free: 0.8164 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.674e-05/0.007473, allocations: 99.25 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.00761, allocations: 55.64 kB / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.007612, allocations: 0 / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.007663, allocations: 35.67 kB / 0.8835 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.007875, allocations: 23.92 kB / 0.8835 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.008221, allocations: 170.8 kB / 0.8837 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.008262, allocations: 59.34 kB / 0.8837 GB, free: 320 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.008301, allocations: 15.98 kB / 0.8837 GB, free: 304 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.008359, allocations: 20.5 kB / 0.8837 GB, free: 284 kB / 0.8386 GB Notification: Performance of SimCode: time 8.82e-07/0.00836, allocations: 0 / 0.8837 GB, free: 284 kB / 0.8386 GB Notification: Performance of Templates: time 0.004331/0.01269, allocations: 1.726 MB / 0.8854 GB, free: 14.58 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.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.726826261263341]