Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 118.6 kB / 16.42 MB, free: 6.5 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.001272/0.001272, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.89 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9385/0.9401, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002221/0.9423, allocations: 1.051 MB / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.9436, allocations: 0.9823 MB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.9437, allocations: 7.562 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.9438, allocations: 18.28 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.9439, allocations: 16.22 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.9442, allocations: 72.41 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.9444, allocations: 168.5 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.9446, allocations: 75.91 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.9447, allocations: 67.25 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.9448, allocations: 87.09 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.9449, allocations: 15.22 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.028e-05/0.9449, allocations: 15.78 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.945, allocations: 36.34 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.9451, allocations: 70.44 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.9453, allocations: 179.7 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9453, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9453, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.9453, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007692/0.9461, allocations: 473.3 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9462, allocations: 9.156 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.9462, allocations: 18.69 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.9465, allocations: 227.6 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.9465, allocations: 11.5 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.9466, allocations: 18.47 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.9469, allocations: 144 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9469, allocations: 192 / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.947, allocations: 9.922 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.947, allocations: 3.625 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.9473, allocations: 103.5 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.9484, allocations: 0.521 MB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.9488, allocations: 141.4 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.949, allocations: 81.95 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.9491, allocations: 15.42 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.9493, allocations: 119.9 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.9493, allocations: 0 / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0005924/0.9499, allocations: 230.5 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.9499, allocations: 57.75 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.9501, allocations: 157.5 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.9501, allocations: 31.61 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.9502, allocations: 111.4 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.9502, allocations: 64.19 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.9503, allocations: 39.45 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.9504, allocations: 327.6 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.9506, allocations: 73.39 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.9509, allocations: 84.55 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.9512, allocations: 155.6 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.9512, allocations: 0 / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005289/0.9518, allocations: 210 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.9518, allocations: 5.188 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9518, allocations: 0.75 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.9518, allocations: 6.188 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.9521, allocations: 36.25 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.9521, allocations: 6.062 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.9522, allocations: 26.75 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.9523, allocations: 5.828 kB / 1.095 GB, free: 1.234 MB / 0.8575 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 9.141e-05/0.9524, allocations: 129.5 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.9524, allocations: 18.98 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.9529, allocations: 192.2 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.9529, allocations: 6.125 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9529, allocations: 0 / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.953, allocations: 94.3 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.953, allocations: 10.75 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.9532, allocations: 16.52 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.9533, allocations: 25.78 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006929/0.954, allocations: 276.4 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007322/0.9547, allocations: 420.8 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002292/0.955, allocations: 81.28 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001163/0.9551, allocations: 122.2 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of Backend: time 4.31e-07/0.9551, allocations: 0 / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007344/0.9559, allocations: 195.5 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of SimCode: time 0.0009052/0.9568, allocations: 0.7387 MB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.005908/0.9627, allocations: 1.899 MB / 1.099 GB, free: 15.38 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches