Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 111.4 kB / 16.42 MB, free: 6.512 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.002092/0.002092, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001403, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.9855, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002182/0.9877, allocations: 0.7775 MB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.9889, allocations: 0.8764 MB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.989, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.9891, allocations: 3.938 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.9892, allocations: 15.86 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.9894, allocations: 35.95 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.9896, allocations: 91.75 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.9897, allocations: 19.98 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.9898, allocations: 39.84 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.9899, allocations: 43.83 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.99, allocations: 12 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.99, allocations: 8 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.99, allocations: 23.95 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.9901, allocations: 35.8 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.9902, allocations: 91.59 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9902, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9903, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.9903, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 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.0007071/0.991, allocations: 396.9 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.991, allocations: 12.92 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.9911, allocations: 8.844 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.9913, allocations: 172.2 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.9913, allocations: 12.38 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.9913, allocations: 384 / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.9917, allocations: 110.9 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9917, allocations: 0 / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.9917, allocations: 8 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.9917, allocations: 4 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.9921, allocations: 95.89 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.9927, allocations: 348.5 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.9933, allocations: 118.6 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.9935, allocations: 56.81 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.9936, allocations: 4 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.9936, allocations: 34.56 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.9936, allocations: 4 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0007001/0.9943, allocations: 185.4 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.9944, allocations: 55.39 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.9945, allocations: 121.8 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.9945, allocations: 29.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.9946, allocations: 96.03 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.9946, allocations: 15.75 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.9947, allocations: 25.7 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9948, allocations: 318.8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.995, allocations: 47.94 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.9952, allocations: 51.95 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.9956, allocations: 96.78 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9956, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004247/0.996, allocations: 145.9 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.996, allocations: 8 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.996, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9961, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.9962, allocations: 23.97 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.9963, allocations: 4.062 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.9964, allocations: 15.92 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.9964, allocations: 4 kB / 1.172 GB, free: 14.97 MB / 0.9044 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 9.369e-05/0.9965, allocations: 117.8 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.9966, allocations: 7.906 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.9966, allocations: 16.38 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9966, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9966, allocations: 3.938 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.9967, allocations: 88.89 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.9967, allocations: 4 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.9968, allocations: 11.97 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.9969, allocations: 19.98 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005497/0.9975, allocations: 228.8 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005132/0.998, allocations: 322.5 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002012/0.9982, allocations: 55.94 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.9983, allocations: 103.2 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of Backend: time 4.91e-07/0.9983, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.9988, allocations: 138.3 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006379/0.9995, allocations: 0.6 MB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.004514/1.004, allocations: 1.739 MB / 1.175 GB, free: 11.44 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches