Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001458/0.001458, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001484/0.001484, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.54/1.54, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.242/3.242, allocations: 482.2 MB / 0.7542 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 68.78 kB / 0.9232 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4136, allocations: 162.2 MB / 1.082 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002416/0.4161, allocations: 0.7657 MB / 1.082 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.4171, allocations: 0.8001 MB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.4171, allocations: 0 / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.4172, allocations: 3.938 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.056e-05/0.4173, allocations: 15.91 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.15e-05/0.4173, allocations: 4 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.691e-05/0.4174, allocations: 47.84 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.4175, allocations: 12 kB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.4176, allocations: 15.98 kB / 1.083 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.4176, allocations: 19.86 kB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.4176, allocations: 4 kB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.4177, allocations: 4 kB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.4177, allocations: 7.984 kB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.4177, allocations: 15.94 kB / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.4178, allocations: 51.78 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4178, allocations: 0 / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4178, allocations: 4 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4178, allocations: 3.938 kB / 1.083 GB, free: 11.95 MB / 0.8419 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.0005714/0.4184, allocations: 355.7 kB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4185, allocations: 12.03 kB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.4185, allocations: 16.77 kB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4187, allocations: 176.2 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4187, allocations: 384 / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.4187, allocations: 4.375 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.419, allocations: 70.22 kB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.419, allocations: 192 / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.419, allocations: 7.938 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.419, allocations: 0 / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.4193, allocations: 63.92 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.4197, allocations: 272.9 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.4199, allocations: 50.48 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.42, allocations: 44.91 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.4201, allocations: 8 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.4201, allocations: 30.56 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4201, allocations: 0 / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000537/0.4206, allocations: 129.5 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.4207, allocations: 55.41 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.4208, allocations: 113.8 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4208, allocations: 29.7 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.4209, allocations: 84.05 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4209, allocations: 7.906 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.4209, allocations: 13.72 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4211, allocations: 318.8 kB / 1.085 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.4212, allocations: 35.97 kB / 1.085 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.4214, allocations: 27.95 kB / 1.085 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.4216, allocations: 68.78 kB / 1.085 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4217, allocations: 3.938 kB / 1.085 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003133/0.422, allocations: 109.5 kB / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.422, allocations: 4 kB / 1.085 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.422, allocations: 0 / 1.085 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.422, allocations: 0 / 1.085 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4222, allocations: 15.98 kB / 1.085 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.4222, allocations: 0 / 1.085 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.4223, allocations: 15.98 kB / 1.085 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4223, allocations: 0 / 1.085 GB, free: 9.625 MB / 0.8419 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 9.16e-05/0.4224, allocations: 118.3 kB / 1.086 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.4224, allocations: 8.234 kB / 1.086 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.4224, allocations: 3.906 kB / 1.086 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4224, allocations: 0 / 1.086 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4224, allocations: 11.92 kB / 1.086 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4224, allocations: 0 / 1.086 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4226, allocations: 173.6 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4227, allocations: 4 kB / 1.086 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4228, allocations: 19.91 kB / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4228, allocations: 0 / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.4228, allocations: 0 / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4228, allocations: 4 kB / 1.086 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4228, allocations: 0 / 1.086 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.4232, allocations: 195.4 kB / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.4232, allocations: 88.94 kB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4233, allocations: 0 / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4234, allocations: 15.98 kB / 1.086 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.4234, allocations: 4 kB / 1.086 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4234, allocations: 4 kB / 1.086 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.4235, allocations: 83.27 kB / 1.086 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4235, allocations: 4 kB / 1.086 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002176/0.4237, allocations: 12 kB / 1.086 GB, free: 8.793 MB / 0.8419 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.0001636/0.4239, allocations: 99.25 kB / 1.086 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.4242, allocations: 67.86 kB / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4242, allocations: 0 / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4244, allocations: 39.95 kB / 1.086 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4247, allocations: 9.828 kB / 1.086 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.425, allocations: 145.4 kB / 1.086 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4254, allocations: 0.6846 MB / 1.087 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.4254, allocations: 0 / 1.087 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.4254, allocations: 15.38 kB / 1.087 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4254, allocations: 0 / 1.087 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.002974/0.4284, allocations: 0.571 MB / 1.088 GB, free: 7.113 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches