Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001618/0.001618, allocations: 198 kB / 17.3 MB, free: 5.883 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.488/2.488, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 69.58 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3104, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002053/0.3124, allocations: 0.665 MB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.3134, allocations: 0.8001 MB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.3134, allocations: 4 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.3134, allocations: 3.938 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.3135, allocations: 3.938 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.3136, allocations: 11.92 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.3137, allocations: 27.97 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.3138, allocations: 0 / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.3139, allocations: 15.88 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.3139, allocations: 11.98 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3139, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-06/0.314, allocations: 4 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.314, allocations: 7.938 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.314, allocations: 11.98 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.987e-05/0.3141, allocations: 23.89 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3141, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3141, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.3141, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004013/0.3145, allocations: 339.5 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3145, allocations: 12.92 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.3146, allocations: 4.844 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3147, allocations: 168.3 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3147, allocations: 4.375 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.3147, allocations: 384 / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3149, allocations: 50.23 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3149, allocations: 192 / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3149, allocations: 3.938 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.3149, allocations: 7.938 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3151, allocations: 35.95 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.3154, allocations: 244.9 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3155, allocations: 42.48 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.3156, allocations: 24.91 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3157, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3157, allocations: 38.5 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3157, allocations: 0 / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.316, allocations: 77.64 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3161, allocations: 59.53 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.3161, allocations: 97.84 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3162, allocations: 29.7 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.3162, allocations: 80.14 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.3162, allocations: 3.906 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.3162, allocations: 13.72 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3164, allocations: 314.8 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.3164, allocations: 19.97 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.3165, allocations: 19.98 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3167, allocations: 40.77 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3167, allocations: 0 / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.3169, allocations: 73.44 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3169, allocations: 12.09 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3169, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3169, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.317, allocations: 7.984 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.317, allocations: 7.984 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.3171, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.3171, allocations: 3.984 kB / 1.022 GB, free: 6.223 MB / 0.795 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 (2): * Single equations (assignments): 2 * 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 6.517e-05/0.3172, allocations: 113.8 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3172, allocations: 4 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.3174, allocations: 72.72 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3174, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3174, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3174, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3176, allocations: 165.6 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3176, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.3177, allocations: 8 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3177, allocations: 4.031 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3177, allocations: 7.938 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3177, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3177, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3179, allocations: 163.4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.318, allocations: 85.28 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.318, allocations: 4.031 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.3181, allocations: 7.984 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.3181, allocations: 7.984 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.3181, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.3182, allocations: 79.28 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3182, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002221/0.3184, allocations: 4 kB / 1.023 GB, free: 5.41 MB / 0.795 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 (2): * Single equations (assignments): 2 * 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.0001211/0.3185, allocations: 99.25 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.3187, allocations: 39.95 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3187, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.3188, allocations: 23.92 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3191, allocations: 7.875 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.3194, allocations: 108.9 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3196, allocations: 0.6807 MB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.3196, allocations: 4 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3197, allocations: 11.44 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3197, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of Templates: time 0.002291/0.322, allocations: 428.3 kB / 1.024 GB, free: 3.969 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches