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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007944/0.0007945, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009179/0.000918, allocations: 183.4 kB / 16.92 MB, free: 6.922 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6823, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0009479/0.6833, allocations: 450.1 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000981/0.6843, allocations: 0.8001 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.6843, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.6844, allocations: 3.938 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.6844, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.993e-05/0.6845, allocations: 7.984 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.156e-05/0.6846, allocations: 43.8 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.6847, allocations: 15.98 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.6848, allocations: 15.98 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.6849, allocations: 15.92 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.6849, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.6849, allocations: 7.938 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.6849, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.685, allocations: 41.62 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.351e-05/0.685, allocations: 31.92 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6851, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6851, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.6851, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 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.0005012/0.6856, allocations: 373.3 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6856, allocations: 8.031 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.6857, allocations: 8.828 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.6858, allocations: 172.2 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6858, allocations: 4.375 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.6858, allocations: 4.375 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.6861, allocations: 74.22 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.6861, allocations: 7.938 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6861, allocations: 0 / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.6862, allocations: 4 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.6865, allocations: 87.92 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.6869, allocations: 264.9 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.6871, allocations: 78.45 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.6873, allocations: 48.92 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.6873, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.6873, allocations: 34.56 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.6873, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006027/0.6879, allocations: 165.5 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.688, allocations: 55.41 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.6881, allocations: 109.8 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.6881, allocations: 29.7 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.6882, allocations: 92.05 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.6882, allocations: 15.77 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.6882, allocations: 13.72 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6883, allocations: 314.8 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.6885, allocations: 43.97 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.6887, allocations: 39.95 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.689, allocations: 96.72 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.689, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003772/0.6894, allocations: 121.6 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6894, allocations: 9.719 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6894, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.6895, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.6896, allocations: 19.98 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6896, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.6898, allocations: 23.88 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.6898, allocations: 7.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 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.0001295/0.6899, allocations: 117.8 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.6899, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.69, allocations: 7.906 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.69, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.69, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.69, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.6903, allocations: 177.6 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6903, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.6904, allocations: 23.98 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6904, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6904, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6904, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6904, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.6909, allocations: 227.2 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.691, allocations: 81.48 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.691, allocations: 4 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.6912, allocations: 15.98 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.6912, allocations: 3.984 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.6912, allocations: 7.984 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.821e-05/0.6913, allocations: 83.28 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6913, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002362/0.6916, allocations: 8 kB / 1.028 GB, free: 11.11 MB / 0.7794 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.0002318/0.6918, allocations: 111.2 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.6922, allocations: 95.86 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6922, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.6924, allocations: 43.97 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.6928, allocations: 11.88 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.6932, allocations: 166.2 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.6936, allocations: 0.6848 MB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.6936, allocations: 7.438 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.6936, allocations: 4 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.0029/0.6965, allocations: 0.7239 MB / 1.03 GB, free: 9.203 MB / 0.7794 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/jenkins1/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