Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 111 kB / 16.37 MB, free: 6.012 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.002195/0.002195, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.584/1.584, allocations: 222.9 MB / 241 MB, free: 15.18 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.351/2.351, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 66.03 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3223, allocations: 140.4 MB / 0.9512 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.00217/0.3245, allocations: 0.6452 MB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001649/0.3247, allocations: 7.938 kB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.3248, allocations: 0 / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.3249, allocations: 7.938 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.3249, allocations: 0 / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.901e-05/0.325, allocations: 4 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.3251, allocations: 27.97 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3253, allocations: 35.97 kB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.3253, allocations: 15.94 kB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.3254, allocations: 19.86 kB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3254, allocations: 3.938 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.3254, allocations: 8 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.3255, allocations: 11.94 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3255, allocations: 15.88 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.985e-05/0.3256, allocations: 47.8 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3256, allocations: 4 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3256, allocations: 0 / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3256, allocations: 0 / 0.952 GB, free: 7.16 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000412/0.326, allocations: 355.3 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3261, allocations: 12.03 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.3261, allocations: 8.844 kB / 0.9523 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3263, allocations: 184.3 kB / 0.9525 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3264, allocations: 4.375 kB / 0.9525 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3264, allocations: 8.312 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3265, allocations: 78.17 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3266, allocations: 192 / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3266, allocations: 3.938 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3266, allocations: 4 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.3267, allocations: 47.97 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3272, allocations: 491 kB / 0.9531 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3273, allocations: 169.1 kB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.3274, allocations: 84.14 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.3274, allocations: 75.28 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.3275, allocations: 117.8 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3275, allocations: 0 / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.705e-05/0.3276, allocations: 33.61 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.3277, allocations: 126.7 kB / 0.9537 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3278, allocations: 176.1 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3279, allocations: 25.7 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.3279, allocations: 96.03 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/0.3279, allocations: 4 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.328, allocations: 13.72 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3281, allocations: 318.8 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.3281, allocations: 11.98 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.3282, allocations: 6.109 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.3282, allocations: 16.78 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3282, allocations: 0 / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.3283, allocations: 49.69 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3284, allocations: 12.08 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3284, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3284, allocations: 112 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.3285, allocations: 7.938 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3285, allocations: 7.875 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.3285, allocations: 11.84 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3285, allocations: 4 kB / 0.9544 GB, free: 4.422 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 (1): * Single equations (assignments): 1 * 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.0001247/0.3287, allocations: 193.1 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.3288, allocations: 112.8 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.3288, allocations: 116.9 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/0.3289, allocations: 184.2 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.317e-05/0.329, allocations: 180.2 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-05/0.329, allocations: 180.3 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.3293, allocations: 421.1 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-05/0.3294, allocations: 105 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.3294, allocations: 108.9 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.344e-05/0.3295, allocations: 176.3 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.3296, allocations: 184.3 kB / 0.9563 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.415e-05/0.3297, allocations: 184.2 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.2e-05/0.3298, allocations: 180.2 kB / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.33, allocations: 315.8 kB / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3301, allocations: 182 kB / 0.9571 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3302, allocations: 184.2 kB / 0.9573 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3304, allocations: 105.3 kB / 0.9574 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3305, allocations: 192.1 kB / 0.9576 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.3305, allocations: 105 kB / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001288/0.3307, allocations: 133.9 kB / 0.9578 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3307, allocations: 0 / 0.9578 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000234/0.3309, allocations: 4 kB / 0.9578 GB, free: 0.7305 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 (0): * Single equations (assignments): 0 * 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.0002136/0.3311, allocations: 174.5 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.3312, allocations: 19.92 kB / 0.958 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.3312, allocations: 4 kB / 0.958 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.3313, allocations: 0 / 0.958 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.3317, allocations: 459.7 kB / 0.9584 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.3321, allocations: 208.3 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3324, allocations: 0.7039 MB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.3325, allocations: 7.984 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3325, allocations: 11.44 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.3325, allocations: 3.938 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.002764/0.3353, allocations: 471.6 kB / 0.9598 GB, free: 14.63 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches