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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008762/0.008762, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.00168/0.00168, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.918/2.918, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3825, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002377/0.3849, allocations: 0.7178 MB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3864, allocations: 0.7884 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.3865, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.3866, allocations: 7.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.3868, allocations: 11.92 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.665e-05/0.3869, allocations: 11.98 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.387, allocations: 43.84 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3872, allocations: 12 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3873, allocations: 15.92 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.3874, allocations: 23.91 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.3874, allocations: 4 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.3874, allocations: 4 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.3875, allocations: 7.938 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.3875, allocations: 19.92 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.3877, allocations: 43.8 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3877, allocations: 0 / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3877, allocations: 0 / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3877, allocations: 0 / 1.209 GB, free: 7.891 MB / 0.9669 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.0006529/0.3884, allocations: 363.4 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3884, allocations: 12.62 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.3885, allocations: 4.844 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3886, allocations: 180.2 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3886, allocations: 384 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3887, allocations: 4.375 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.3889, allocations: 70.16 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.389, allocations: 192 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.389, allocations: 3.938 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.389, allocations: 0 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.3893, allocations: 67.92 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.3897, allocations: 265 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3899, allocations: 50.58 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3901, allocations: 56.75 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3901, allocations: 0 / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3902, allocations: 30.56 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3902, allocations: 3.938 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005472/0.3907, allocations: 129.6 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3908, allocations: 51.41 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.3909, allocations: 113.8 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.3909, allocations: 25.7 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.391, allocations: 84.05 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.391, allocations: 11.91 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.3911, allocations: 13.7 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3912, allocations: 326.8 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3914, allocations: 27.97 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3915, allocations: 31.95 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.3918, allocations: 77.05 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3918, allocations: 3.938 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003231/0.3921, allocations: 97.56 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3922, allocations: 4 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3922, allocations: 0 / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3922, allocations: 0 / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3924, allocations: 19.98 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3924, allocations: 3.938 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.3925, allocations: 19.88 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.3925, allocations: 0 / 1.212 GB, free: 5.555 MB / 0.9669 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.377e-05/0.3926, allocations: 117.8 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3926, allocations: 0 / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3926, allocations: 3.906 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3926, allocations: 4 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3927, allocations: 4 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3927, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.3929, allocations: 177.6 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3929, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.393, allocations: 11.98 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.393, allocations: 8 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.393, allocations: 0 / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.393, allocations: 0 / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.393, allocations: 0 / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.3934, allocations: 207.2 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3934, allocations: 81.05 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3935, allocations: 4 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3936, allocations: 7.984 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3936, allocations: 8 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3936, allocations: 4 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.3937, allocations: 87.27 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3937, allocations: 0 / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002199/0.3939, allocations: 11.94 kB / 1.212 GB, free: 4.73 MB / 0.9669 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.0001747/0.3941, allocations: 100.8 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003669/0.3945, allocations: 67.92 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3945, allocations: 0 / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.3947, allocations: 43.89 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.395, allocations: 12.48 kB / 1.212 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.3955, allocations: 137.2 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3958, allocations: 0.6846 MB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.3958, allocations: 0 / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.3959, allocations: 11.44 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3959, allocations: 0 / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of Templates: time 0.003136/0.399, allocations: 0.7017 MB / 1.214 GB, free: 2.93 MB / 0.9669 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