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.001124/0.001124, allocations: 108 kB / 15.6 MB, free: 132 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.001069/0.00107, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.721/2.721, allocations: 437 MB / 0.7103 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.89 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7786, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002719/0.7813, allocations: 0.6998 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.7826, allocations: 0.8001 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.7827, allocations: 3.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.7827, allocations: 7.922 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.7828, allocations: 3.938 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.14e-05/0.7829, allocations: 15.98 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.783, allocations: 43.8 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.7831, allocations: 11.98 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.7832, allocations: 19.94 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.7833, allocations: 23.91 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.7833, allocations: 4 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.7833, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.7833, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.7834, allocations: 19.86 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.7835, allocations: 43.86 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7835, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7835, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.7835, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 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.0006852/0.7842, allocations: 373.2 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001671/0.7844, allocations: 8.031 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.7844, allocations: 4.938 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.7846, allocations: 172.3 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.7846, allocations: 384 / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.7846, allocations: 4.312 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.7849, allocations: 74.22 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.7849, allocations: 192 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.7849, allocations: 3.938 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.785, allocations: 3.984 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.7852, allocations: 59.94 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.7857, allocations: 265 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.7859, allocations: 66.41 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.7861, allocations: 36.92 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.7861, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.7862, allocations: 42.55 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.7862, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0007049/0.7869, allocations: 125.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.787, allocations: 59.34 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.7871, allocations: 113.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.7871, allocations: 25.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.7872, allocations: 92.12 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.7872, allocations: 7.844 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.7872, allocations: 17.66 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7874, allocations: 314.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.7875, allocations: 35.95 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.7877, allocations: 35.91 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.788, allocations: 68.78 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.788, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003588/0.7883, allocations: 101.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.7884, allocations: 8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7884, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7884, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.7885, allocations: 19.97 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7886, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.7886, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.7887, allocations: 12 kB / 1.021 GB, free: 14.47 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 8.898e-05/0.7888, allocations: 113.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.7888, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.7888, allocations: 8.234 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7888, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7888, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.7889, allocations: 7.969 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.789, allocations: 169.6 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7891, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-05/0.7892, allocations: 19.98 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.7892, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7892, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.7892, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7892, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.7896, allocations: 207.2 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.7897, allocations: 77.11 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.7897, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.7898, allocations: 15.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.7899, allocations: 3.984 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.7899, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.7899, allocations: 83.28 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7899, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002307/0.7902, allocations: 8 kB / 1.022 GB, free: 13.66 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.000167/0.7904, allocations: 107.2 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.7907, allocations: 71.86 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7907, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.7909, allocations: 35.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.7913, allocations: 15.92 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.7917, allocations: 125.5 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.792, allocations: 0.6884 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.7921, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.7921, allocations: 11.44 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of SimCode: time 4.3e-07/0.7921, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.003097/0.7952, allocations: 0.6629 MB / 1.023 GB, free: 11.89 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/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