Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005408/0.005408, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001389/0.001389, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.718/2.718, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4021, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002584/0.4047, allocations: 0.7083 MB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.4062, allocations: 0.8082 MB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.4063, allocations: 0 / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.4063, allocations: 0 / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.4064, allocations: 11.86 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.286e-05/0.4065, allocations: 11.98 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.4067, allocations: 43.91 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4068, allocations: 12 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.4069, allocations: 19.92 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.407, allocations: 19.92 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.4071, allocations: 4 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.4071, allocations: 4 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.4071, allocations: 11.92 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.4072, allocations: 15.94 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.4073, allocations: 47.78 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4074, allocations: 0 / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4074, allocations: 0 / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.4074, allocations: 0 / 1.168 GB, free: 5.023 MB / 0.92 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.0007793/0.4082, allocations: 371.2 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4082, allocations: 8.031 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.4083, allocations: 12.89 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.4084, allocations: 168.4 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4085, allocations: 384 / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.4085, allocations: 4.375 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.4089, allocations: 74.16 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4089, allocations: 4.188 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4089, allocations: 3.938 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.409, allocations: 0 / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.4095, allocations: 63.92 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.41, allocations: 272.8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.4103, allocations: 58.48 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.4106, allocations: 44.91 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4107, allocations: 0 / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.4107, allocations: 34.56 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 5.31e-06/0.4107, allocations: 4 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0009368/0.4117, allocations: 129.5 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.4118, allocations: 51.41 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4119, allocations: 105.8 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.4119, allocations: 29.7 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.412, allocations: 88.14 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.4121, allocations: 11.91 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.4121, allocations: 13.72 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.4124, allocations: 318.8 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.4126, allocations: 23.97 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.4129, allocations: 40.14 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.4134, allocations: 68.81 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.4134, allocations: 11.92 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005548/0.414, allocations: 93.62 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.414, allocations: 12 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.414, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4141, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.4143, allocations: 15.98 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4143, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.4145, allocations: 7.984 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4145, allocations: 7.938 kB / 1.17 GB, free: 2.688 MB / 0.92 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 0.0001179/0.4146, allocations: 117.8 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.4147, allocations: 11.95 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.4147, allocations: 3.906 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4147, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4148, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4148, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.4151, allocations: 173.6 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4151, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.4152, allocations: 23.91 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4153, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4153, allocations: 4 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4153, allocations: 3.938 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4153, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.416, allocations: 195.4 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.416, allocations: 85.05 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.4161, allocations: 4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.4163, allocations: 11.98 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.4163, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4164, allocations: 8 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.229e-05/0.4164, allocations: 83.27 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4165, allocations: 0 / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004216/0.4169, allocations: 15.94 kB / 1.171 GB, free: 1.855 MB / 0.92 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 0.000195/0.4171, allocations: 103.2 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005697/0.4177, allocations: 67.92 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4177, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.4179, allocations: 35.95 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.4184, allocations: 13.81 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.4188, allocations: 117.4 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4192, allocations: 0.6846 MB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.4192, allocations: 3.938 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.4193, allocations: 7.438 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.4193, allocations: 0 / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of Templates: time 0.00397/0.4233, allocations: 0.6904 MB / 1.173 GB, free: 88 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches