Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008795, allocations: 98.48 kB / 16.02 MB, free: 76 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.001286/0.001286, allocations: 186.1 kB / 16.92 MB, free: 6.75 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.461/2.461, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005505/0.0005503, allocations: 16 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6914, allocations: 142.4 MB / 0.9557 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.0007937/0.6922, allocations: 397.5 kB / 0.9561 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.693, allocations: 0.8019 MB / 0.9569 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.6931, allocations: 1.5 kB / 0.9569 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.6931, allocations: 0 / 0.9569 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.6932, allocations: 0 / 0.9569 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.6933, allocations: 6.469 kB / 0.9569 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.6934, allocations: 19.95 kB / 0.9569 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.6934, allocations: 11.17 kB / 0.9569 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.6935, allocations: 11.45 kB / 0.9569 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.537e-05/0.6935, allocations: 10.38 kB / 0.957 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.6936, allocations: 4.875 kB / 0.957 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.6936, allocations: 1.844 kB / 0.957 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.6936, allocations: 0 / 0.957 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.6936, allocations: 35.91 kB / 0.957 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.463e-05/0.6937, allocations: 15.16 kB / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6937, allocations: 0 / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6937, allocations: 1.031 kB / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.6937, allocations: 0 / 0.957 GB, free: 6.746 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.0003484/0.6941, allocations: 346 kB / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6941, allocations: 8.219 kB / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.6941, allocations: 2.375 kB / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.6942, allocations: 165.7 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.6942, allocations: 1.5 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.6943, allocations: 1.375 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.6944, allocations: 58.58 kB / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.6944, allocations: 192 / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6945, allocations: 5.219 kB / 0.9576 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6945, allocations: 0 / 0.9576 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.6946, allocations: 44.58 kB / 0.9576 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.6949, allocations: 264.6 kB / 0.9579 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.6951, allocations: 47.48 kB / 0.9579 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.6952, allocations: 28.22 kB / 0.9579 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.6952, allocations: 0 / 0.9579 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.6952, allocations: 35.78 kB / 0.958 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.6952, allocations: 0 / 0.958 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003598/0.6956, allocations: 99.8 kB / 0.9581 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.6956, allocations: 51.41 kB / 0.9581 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.6957, allocations: 103.6 kB / 0.9582 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.6957, allocations: 25.7 kB / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.6957, allocations: 81.17 kB / 0.9583 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.6957, allocations: 17.19 kB / 0.9583 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.6958, allocations: 11.03 kB / 0.9583 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.6958, allocations: 310.8 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.6959, allocations: 22.17 kB / 0.9587 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.696, allocations: 25.88 kB / 0.9587 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.6961, allocations: 46.2 kB / 0.9587 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6962, allocations: 0 / 0.9587 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.6964, allocations: 86.34 kB / 0.9588 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6964, allocations: 4.406 kB / 0.9588 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6964, allocations: 1.406 kB / 0.9588 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6964, allocations: 0 / 0.9588 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.6965, allocations: 12.23 kB / 0.9588 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6965, allocations: 5.344 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.6966, allocations: 13.25 kB / 0.9588 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.6966, allocations: 1.406 kB / 0.9588 GB, free: 4.914 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 4.562e-05/0.6966, allocations: 115.2 kB / 0.959 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.6967, allocations: 1.062 kB / 0.959 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.6969, allocations: 92.3 kB / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6969, allocations: 0 / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6969, allocations: 1.219 kB / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6969, allocations: 0 / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.697, allocations: 162.1 kB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.697, allocations: 0 / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.6971, allocations: 12.61 kB / 0.9592 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.6971, allocations: 5.375 kB / 0.9592 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.6971, allocations: 3.938 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6971, allocations: 0 / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6971, allocations: 1.125 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.6974, allocations: 177 kB / 0.9594 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.6974, allocations: 77.11 kB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.6974, allocations: 5.953 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.6975, allocations: 6.031 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.6975, allocations: 7.922 kB / 0.9595 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.6975, allocations: 1.844 kB / 0.9595 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.948e-05/0.6976, allocations: 78.94 kB / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6976, allocations: 4.031 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002127/0.6978, allocations: 3.844 kB / 0.9596 GB, free: 4.172 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 9.68e-05/0.6979, allocations: 100.2 kB / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.6981, allocations: 51.27 kB / 0.9597 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6981, allocations: 0 / 0.9597 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.6982, allocations: 20.52 kB / 0.9597 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.6985, allocations: 12.5 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.6988, allocations: 132.9 kB / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.6989, allocations: 0.6815 MB / 0.9605 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.6989, allocations: 8.312 kB / 0.9605 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6989, allocations: 0 / 0.9605 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.00183/0.7007, allocations: 0.5379 MB / 0.9611 GB, free: 2.926 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches