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.0008139/0.0008139, 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.0009915/0.0009911, allocations: 182.3 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.344 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.71/2.71, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 16 kB / 0.8735 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6412, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001308/0.6425, allocations: 0.7672 MB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.6438, allocations: 0.9987 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.644, allocations: 4 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.6441, allocations: 15.86 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.6442, allocations: 15.88 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.6444, allocations: 59.81 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.6446, allocations: 164 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.6448, allocations: 72.05 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.6449, allocations: 55.72 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.645, allocations: 67.61 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.6451, allocations: 8 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.6451, allocations: 4 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.6451, allocations: 23.91 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.6452, allocations: 93.19 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.6454, allocations: 129.6 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6454, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6454, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.6454, allocations: 0 / 1.026 GB, free: 13.33 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.0008302/0.6463, allocations: 459 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6463, allocations: 8.031 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.6464, allocations: 20.66 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.6467, allocations: 220 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.6467, allocations: 20.36 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.6467, allocations: 16.38 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.6471, allocations: 153.7 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6471, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.6471, allocations: 8 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.6472, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.6475, allocations: 125 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.6486, allocations: 0.5507 MB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.6491, allocations: 142.7 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.6493, allocations: 96.75 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.6493, allocations: 4 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.6496, allocations: 125.1 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 3.367e-06/0.6497, allocations: 4 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005791/0.6502, allocations: 238.7 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6503, allocations: 59.41 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.6504, allocations: 167.9 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.6505, allocations: 33.7 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.6506, allocations: 120.4 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.6506, allocations: 59.09 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.6507, allocations: 29.7 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.6509, allocations: 322.8 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.6512, allocations: 83.81 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.6514, allocations: 85.67 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.6518, allocations: 165.5 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6518, allocations: 0 / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005198/0.6523, allocations: 224 kB / 1.03 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6523, allocations: 4 kB / 1.03 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6523, allocations: 4 kB / 1.03 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6524, allocations: 3.938 kB / 1.03 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.6526, allocations: 43.91 kB / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6526, allocations: 0 / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.6527, allocations: 27.89 kB / 1.03 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.6528, allocations: 8 kB / 1.03 GB, free: 9.531 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.0001337/0.6529, allocations: 137.7 kB / 1.03 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.6529, allocations: 19.8 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.6534, allocations: 194.8 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6534, allocations: 4 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6534, allocations: 0 / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6534, allocations: 3.984 kB / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008702/0.6543, allocations: 0.5929 MB / 1.031 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6543, allocations: 4 kB / 1.031 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.6545, allocations: 48.08 kB / 1.031 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.6545, allocations: 7.938 kB / 1.031 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.6546, allocations: 8 kB / 1.031 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6546, allocations: 0 / 1.031 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6546, allocations: 4 kB / 1.031 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.6552, allocations: 402.1 kB / 1.031 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.6553, allocations: 96.86 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.6553, allocations: 8 kB / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6555, allocations: 20.03 kB / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.6555, allocations: 27.84 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.6556, allocations: 12 kB / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.028e-05/0.6557, allocations: 118.5 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6557, allocations: 0 / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002749/0.6559, allocations: 35.94 kB / 1.031 GB, free: 7.668 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.0001808/0.6561, allocations: 111.2 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.6566, allocations: 175.7 kB / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6566, allocations: 0 / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.6568, allocations: 96.28 kB / 1.032 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.6571, allocations: 27.98 kB / 1.032 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.6578, allocations: 469 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.6581, allocations: 0.7285 MB / 1.033 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.6582, allocations: 19.44 kB / 1.033 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6582, allocations: 0 / 1.033 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of Templates: time 0.003677/0.6619, allocations: 1.923 MB / 1.035 GB, free: 4.051 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