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.001524/0.001524, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002189/0.00219, allocations: 198.2 kB / 16.14 MB, free: 6.574 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.19 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3053, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002371/0.3077, allocations: 0.7612 MB / 1.053 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.3086, allocations: 0.804 MB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.3086, allocations: 0 / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3087, allocations: 0 / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.3088, allocations: 3.938 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.638e-05/0.3088, allocations: 11.98 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.3089, allocations: 47.86 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.309, allocations: 11.94 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.389e-05/0.3091, allocations: 15.92 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.3092, allocations: 23.91 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3092, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.3092, allocations: 4 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.3092, allocations: 7.984 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.3093, allocations: 19.86 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.279e-05/0.3094, allocations: 43.88 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3094, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3094, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3094, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 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.0005524/0.31, allocations: 359.6 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.31, allocations: 12.02 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.31, allocations: 4.938 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3102, allocations: 172.2 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3102, allocations: 8.375 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3102, allocations: 384 / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3105, allocations: 70.16 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3105, allocations: 192 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3105, allocations: 7.938 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.3105, allocations: 0 / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.3108, allocations: 67.92 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.3112, allocations: 265 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3114, allocations: 62.41 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3115, allocations: 48.86 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3116, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3116, allocations: 30.56 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3116, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005146/0.3121, allocations: 133.5 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3121, allocations: 55.41 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.3122, allocations: 109.8 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3123, allocations: 25.7 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.3123, allocations: 92.08 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3123, allocations: 19.73 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.3124, allocations: 13.72 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3125, allocations: 318.8 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3126, allocations: 27.95 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3128, allocations: 31.97 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.313, allocations: 73.05 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.313, allocations: 3.938 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002988/0.3133, allocations: 97.62 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3134, allocations: 9.875 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3134, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3134, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3135, allocations: 15.92 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3135, allocations: 11.98 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.3136, allocations: 7.984 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3136, allocations: 320 / 1.056 GB, free: 4.723 MB / 0.8106 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 6.719e-05/0.3137, allocations: 115.3 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3137, allocations: 11.91 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.3138, allocations: 3.906 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3138, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3138, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3138, allocations: 4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3139, allocations: 173.6 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.314, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.3141, allocations: 15.98 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3141, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3141, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3141, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3141, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.3144, allocations: 203.3 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.3145, allocations: 88.95 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3145, allocations: 0 / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3146, allocations: 11.98 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3147, allocations: 3.984 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3147, allocations: 7.938 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.3147, allocations: 95.27 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3147, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002141/0.3149, allocations: 11.94 kB / 1.057 GB, free: 3.895 MB / 0.8106 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.0001662/0.3151, allocations: 103.2 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.3154, allocations: 71.92 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3154, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.3156, allocations: 35.91 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3159, allocations: 11.92 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.3162, allocations: 139.2 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3165, allocations: 0.677 MB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3165, allocations: 4 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.3165, allocations: 7.438 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of SimCode: time 4e-07/0.3166, allocations: 0 / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of Templates: time 0.002678/0.3192, allocations: 0.544 MB / 1.058 GB, free: 2.25 MB / 0.8106 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