Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008488/0.008488, allocations: 100.9 kB / 15.87 MB, free: 5.863 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.001171/0.001171, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.586 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.591/2.591, allocations: 437 MB / 0.7106 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 71.89 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.705, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002596/0.7076, allocations: 1.118 MB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.7088, allocations: 1.006 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.709, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.7091, allocations: 15.86 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.7092, allocations: 7.875 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.7095, allocations: 65.19 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.7097, allocations: 164 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.7098, allocations: 76.03 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.71, allocations: 67.69 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.7101, allocations: 75.62 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.7101, allocations: 8 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.609e-05/0.7101, allocations: 16 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.7102, allocations: 35.83 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.7103, allocations: 67.59 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.7105, allocations: 133.7 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7105, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7105, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7105, allocations: 3.938 kB / 1.02 GB, free: 15.91 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009753/0.7115, allocations: 484.2 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.7115, allocations: 12.03 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.7116, allocations: 20.66 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.7119, allocations: 216.6 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.7119, allocations: 12.38 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.712, allocations: 16.38 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.7124, allocations: 149.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.7124, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.7124, allocations: 8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.7124, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.7127, allocations: 116.9 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.7139, allocations: 0.5467 MB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.7143, allocations: 138.8 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.7145, allocations: 86.58 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.7145, allocations: 4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.7148, allocations: 111.3 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.7148, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005798/0.7154, allocations: 227.4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.7154, allocations: 59.34 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.7156, allocations: 163.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.7156, allocations: 25.7 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.7157, allocations: 120.4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.7158, allocations: 71.08 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.7158, allocations: 41.7 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.716, allocations: 322.8 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.7162, allocations: 71.81 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.7164, allocations: 87.5 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.7167, allocations: 145.6 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7167, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004816/0.7172, allocations: 219.7 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7173, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7173, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7173, allocations: 8.031 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.7175, allocations: 39.92 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.7175, allocations: 11.97 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.7177, allocations: 19.89 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.7177, allocations: 7.938 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001167/0.7178, allocations: 134.4 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.7178, allocations: 19.75 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.7183, allocations: 192.1 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.7183, allocations: 4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7183, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7183, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.7191, allocations: 0.5851 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7191, allocations: 7.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.7193, allocations: 31.92 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.7193, allocations: 11.92 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.7194, allocations: 12.19 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7194, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7194, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.7199, allocations: 380.2 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.72, allocations: 101 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.7201, allocations: 8 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.7202, allocations: 15.98 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.7203, allocations: 27.97 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.7203, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.749e-05/0.7204, allocations: 122.5 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7204, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002672/0.7207, allocations: 31.94 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000151/0.7208, allocations: 115.2 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.7213, allocations: 169.6 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7213, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.7215, allocations: 87.84 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.7218, allocations: 23.98 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.7225, allocations: 466.3 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.7228, allocations: 0.7246 MB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.7228, allocations: 23.44 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7229, allocations: 0 / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of Templates: time 0.003751/0.7266, allocations: 1.944 MB / 1.029 GB, free: 6.742 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches