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.001032/0.001032, allocations: 93.06 kB / 19.65 MB, free: 272 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.001056/0.001056, allocations: 169 kB / 23.02 MB, free: 1.543 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.9372/0.9372, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.159/2.159, allocations: 429.5 MB / 0.6733 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.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 1.924e-06/1.924e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.961e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001863/0.001893, allocations: 0.7868 MB / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.003077, allocations: 0.9072 MB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.003127, allocations: 3.938 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.003169, allocations: 11.84 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.823e-05/0.003267, allocations: 11.92 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.003476, allocations: 35.91 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.003608, allocations: 87.75 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.003727, allocations: 23.92 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.003862, allocations: 51.88 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.003946, allocations: 39.88 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.003981, allocations: 8 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.003998, allocations: 8 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.004027, allocations: 24.8 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.004066, allocations: 27.91 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.004197, allocations: 59.8 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004199, allocations: 1.062 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.0042, allocations: 0 / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.004205, allocations: 3.984 kB / 0.8802 GB, free: 4.219 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.0008177/0.005023, allocations: 405.4 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.005065, allocations: 8.031 kB / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.005126, allocations: 21.95 kB / 0.8806 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.005247, allocations: 124.4 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.005274, allocations: 4.375 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.005292, allocations: 9.438 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.005532, allocations: 98.42 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.005543, allocations: 3.938 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.00556, allocations: 7.438 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.005569, allocations: 0 / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.00567, allocations: 27.97 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.006165, allocations: 327.5 kB / 0.8812 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.006568, allocations: 71.16 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.006639, allocations: 32.55 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.006656, allocations: 4 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.006684, allocations: 33.98 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.006685, allocations: 0 / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002859/0.006971, allocations: 90.98 kB / 0.8814 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.007006, allocations: 51.41 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.007113, allocations: 179.6 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.007129, allocations: 25.7 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.007194, allocations: 146.8 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.007224, allocations: 23.8 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.007275, allocations: 27.86 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.007412, allocations: 0.4973 MB / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.007465, allocations: 11.94 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.007508, allocations: 11.98 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.007606, allocations: 43.61 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007609, allocations: 0 / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000157/0.007766, allocations: 65.69 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.007781, allocations: 8 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007786, allocations: 0 / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.0078, allocations: 0 / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.007926, allocations: 27.91 kB / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.007931, allocations: 0 / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.007994, allocations: 11.95 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.008004, allocations: 8 kB / 0.8825 GB, free: 1.656 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 8.853e-05/0.008093, allocations: 164.5 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.00813, allocations: 11.95 kB / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.008158, allocations: 8.438 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.008161, allocations: 0 / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.008164, allocations: 0 / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008167, allocations: 0 / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.008327, allocations: 144.5 kB / 0.8829 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008328, allocations: 0 / 0.8829 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.008434, allocations: 19.98 kB / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.008437, allocations: 4 kB / 0.8829 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.008452, allocations: 7.984 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.008454, allocations: 0 / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008454, allocations: 0 / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.008682, allocations: 228.3 kB / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.008695, allocations: 7.891 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.008714, allocations: 4 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.00882, allocations: 7.984 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.008903, allocations: 27.95 kB / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.008913, allocations: 8 kB / 0.8832 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.008975, allocations: 139.2 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008975, allocations: 0 / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002575/0.009232, allocations: 12 kB / 0.8833 GB, free: 0.8086 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 8.76e-05/0.00932, allocations: 95.25 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.009495, allocations: 63.58 kB / 0.8834 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009497, allocations: 0 / 0.8834 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.009575, allocations: 35.67 kB / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.009872, allocations: 23.92 kB / 0.8835 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.0103, allocations: 170.8 kB / 0.8837 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.01034, allocations: 60.03 kB / 0.8837 GB, free: 308 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.946e-05/0.01041, allocations: 15.98 kB / 0.8837 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.01049, allocations: 20.5 kB / 0.8838 GB, free: 272 kB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.01049, allocations: 0 / 0.8838 GB, free: 272 kB / 0.8386 GB Notification: Performance of Templates: time 0.004478/0.01497, allocations: 1.813 MB / 0.8855 GB, free: 14.47 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.517816505860537]