Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.00226/0.00226, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001805, allocations: 68.48 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3113, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.00227/0.3136, allocations: 0.7062 MB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3147, allocations: 0.81 MB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.3148, allocations: 0 / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.3148, allocations: 3.938 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.3149, allocations: 3.938 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.3151, allocations: 15.98 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.3152, allocations: 51.83 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3153, allocations: 8 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.3154, allocations: 23.92 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.3154, allocations: 19.91 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3155, allocations: 4 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.3155, allocations: 4 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.3155, allocations: 7.938 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.3155, allocations: 19.92 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.744e-05/0.3157, allocations: 39.86 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3157, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3157, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3157, allocations: 3.938 kB / 0.9528 GB, free: 6.293 MB / 0.7325 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.0005302/0.3162, allocations: 363.3 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3163, allocations: 8.031 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.3163, allocations: 8.938 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3164, allocations: 176.2 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3165, allocations: 4.359 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3165, allocations: 4.312 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3167, allocations: 74.22 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3168, allocations: 192 / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3168, allocations: 3.938 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3168, allocations: 0 / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.317, allocations: 63.92 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.3174, allocations: 265 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3176, allocations: 62.41 kB / 0.9538 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3178, allocations: 36.92 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3178, allocations: 4 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3179, allocations: 34.56 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3179, allocations: 0 / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005052/0.3184, allocations: 129.5 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3184, allocations: 55.34 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.3185, allocations: 117.8 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3186, allocations: 29.7 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3186, allocations: 84.14 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3186, allocations: 11.89 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.3187, allocations: 13.72 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.3188, allocations: 314.8 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3189, allocations: 31.95 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3191, allocations: 35.97 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3193, allocations: 64.78 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3193, allocations: 3.938 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002959/0.3196, allocations: 105.5 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3196, allocations: 8 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3197, allocations: 0 / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3197, allocations: 0 / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3198, allocations: 15.97 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3198, allocations: 4 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.3199, allocations: 19.92 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3199, allocations: 0 / 0.9549 GB, free: 3.957 MB / 0.7325 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 7.469e-05/0.32, allocations: 120.8 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.32, allocations: 4 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.3204, allocations: 101.8 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3204, allocations: 0 / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3204, allocations: 4 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3204, allocations: 48 / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.3206, allocations: 193.4 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3206, allocations: 0 / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.393e-05/0.3207, allocations: 11.98 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3207, allocations: 0 / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3207, allocations: 4 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3207, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3207, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.3211, allocations: 199.4 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.3211, allocations: 81.05 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3211, allocations: 4 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3212, allocations: 7.984 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.3213, allocations: 7.984 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3213, allocations: 0 / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.509e-05/0.3213, allocations: 91.28 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3213, allocations: 0 / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002272/0.3216, allocations: 7.906 kB / 0.9557 GB, free: 3.035 MB / 0.7325 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.0001488/0.3217, allocations: 111.2 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3221, allocations: 63.92 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3221, allocations: 11.94 kB / 0.9559 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3222, allocations: 31.97 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.3225, allocations: 7.938 kB / 0.9559 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.3229, allocations: 125.5 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.3231, allocations: 0.6844 MB / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.3231, allocations: 8 kB / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.3232, allocations: 7.438 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3232, allocations: 0 / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.002973/0.3262, allocations: 0.6762 MB / 0.9574 GB, free: 1.262 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches