Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 108 kB / 15.61 MB, free: 152 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.002019/0.002019, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.469/2.469, allocations: 390.2 MB / 0.6646 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8856, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002592/0.8882, allocations: 0.6696 MB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.8892, allocations: 0.8025 MB / 0.951 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.8893, allocations: 0 / 0.951 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.8893, allocations: 1.438 kB / 0.951 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.8894, allocations: 7.922 kB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.8896, allocations: 9.391 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.8897, allocations: 17.59 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.8898, allocations: 14.83 kB / 0.9511 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.8899, allocations: 4 kB / 0.9511 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.8899, allocations: 14.77 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.89, allocations: 1.438 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.89, allocations: 6.531 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.89, allocations: 4 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.89, allocations: 10.5 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.817e-05/0.8901, allocations: 27.62 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8901, allocations: 1.312 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8901, allocations: 0 / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.8902, allocations: 4 kB / 0.9512 GB, free: 7.934 MB / 0.7169 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.00049/0.8907, allocations: 339.7 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.8907, allocations: 10.31 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.8908, allocations: 2.125 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.8909, allocations: 165.6 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.8909, allocations: 4.312 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.8909, allocations: 1.562 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.8912, allocations: 54.61 kB / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.8912, allocations: 192 / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.8912, allocations: 3.938 kB / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8912, allocations: 1.844 kB / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.8914, allocations: 33.83 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.8918, allocations: 240.6 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.8919, allocations: 47.03 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.892, allocations: 26.36 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.8921, allocations: 1.25 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.8921, allocations: 34.55 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8921, allocations: 1.438 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004141/0.8925, allocations: 80.11 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.8926, allocations: 59.34 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.8927, allocations: 95.33 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.8927, allocations: 25.7 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.8927, allocations: 89.59 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.8928, allocations: 9.281 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.8928, allocations: 11.06 kB / 0.9524 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.8929, allocations: 324.2 kB / 0.9527 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.893, allocations: 13.23 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.8931, allocations: 26 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.8932, allocations: 35.27 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8933, allocations: 0 / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.8935, allocations: 72.5 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8935, allocations: 8.594 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8935, allocations: 1.281 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8935, allocations: 0 / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.8936, allocations: 10.64 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8936, allocations: 0 / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.8937, allocations: 6.938 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.8937, allocations: 6.25 kB / 0.9529 GB, free: 6.113 MB / 0.7169 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 7.517e-05/0.8938, allocations: 111.8 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.8938, allocations: 11.89 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.8941, allocations: 66.06 kB / 0.9531 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8941, allocations: 1.125 kB / 0.9531 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8941, allocations: 4 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8941, allocations: 1.438 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.8942, allocations: 160.8 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8942, allocations: 1.281 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.8943, allocations: 13.77 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8943, allocations: 0 / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.8943, allocations: 1 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8943, allocations: 0 / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8943, allocations: 1.125 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.8945, allocations: 166.7 kB / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.8946, allocations: 78.58 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.8946, allocations: 3.984 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.8947, allocations: 4.438 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.8947, allocations: 1.344 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.8947, allocations: 0 / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.232e-05/0.8948, allocations: 86.11 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8948, allocations: 1.406 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002048/0.895, allocations: 7 kB / 0.9536 GB, free: 5.379 MB / 0.7169 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.000154/0.8951, allocations: 97.88 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.8954, allocations: 41.39 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.8954, allocations: 0 / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.8955, allocations: 23.3 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.8958, allocations: 11.22 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.8961, allocations: 109.4 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.8963, allocations: 0.6804 MB / 0.9545 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.8963, allocations: 0.9688 kB / 0.9545 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.8963, allocations: 8.875 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/0.8963, allocations: 0 / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.002942/0.8993, allocations: 447.5 kB / 0.955 GB, free: 4.199 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches