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.001869/0.00187, allocations: 100.1 kB / 15.88 MB, free: 12 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.002236/0.002236, allocations: 200 kB / 16.79 MB, free: 6.828 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.483/1.483, allocations: 222.9 MB / 240.5 MB, free: 4.543 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.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.64, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.001828/0.6419, allocations: 0.7259 MB / 0.9503 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.6425, allocations: 0.8029 MB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.6426, allocations: 1.125 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.6426, allocations: 0 / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.6427, allocations: 5.156 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.6428, allocations: 9.234 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.6429, allocations: 24.69 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.643, allocations: 7.609 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.643, allocations: 7.141 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.6431, allocations: 15.67 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.6431, allocations: 0 / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.6431, allocations: 1.281 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.6431, allocations: 1.188 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.6431, allocations: 10.38 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.884e-05/0.6432, allocations: 14.5 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6432, allocations: 1.344 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6432, allocations: 4 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.6432, allocations: 0 / 0.9512 GB, free: 7.871 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.0003329/0.6435, allocations: 338.4 kB / 0.9515 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.6436, allocations: 9.562 kB / 0.9515 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.6436, allocations: 6.406 kB / 0.9515 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.346e-05/0.6437, allocations: 173.8 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.6437, allocations: 384 / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.6437, allocations: 1.656 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.6439, allocations: 58.55 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.6439, allocations: 192 / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.6439, allocations: 3.938 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6439, allocations: 1.469 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.6441, allocations: 29.22 kB / 0.9518 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.6443, allocations: 241.4 kB / 0.952 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6445, allocations: 51.25 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.6446, allocations: 23.84 kB / 0.9521 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.6446, allocations: 7.922 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.6446, allocations: 30.56 kB / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6446, allocations: 0 / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003211/0.6449, allocations: 85.23 kB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.645, allocations: 51.41 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.645, allocations: 103 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.645, allocations: 27.2 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.6451, allocations: 84.14 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.6451, allocations: 9.281 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.6451, allocations: 16.47 kB / 0.9525 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.6452, allocations: 316.1 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.6452, allocations: 20.23 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.6453, allocations: 14.17 kB / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.6455, allocations: 39.64 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6455, allocations: 4.062 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001697/0.6456, allocations: 68.16 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.6457, allocations: 4.719 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6457, allocations: 1.438 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6457, allocations: 0 / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.6458, allocations: 9.641 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/0.6458, allocations: 0 / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.6459, allocations: 12.2 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.6459, allocations: 1.406 kB / 0.953 GB, free: 6.047 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.397e-05/0.6459, allocations: 115.1 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.6459, allocations: 5.312 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.6462, allocations: 69.56 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6462, allocations: 1.219 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6462, allocations: 0 / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6462, allocations: 5.156 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.6463, allocations: 161.4 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6463, allocations: 0 / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.6464, allocations: 11.42 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6464, allocations: 0 / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.6464, allocations: 0 / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6464, allocations: 3.938 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6464, allocations: 1.75 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.6466, allocations: 174.7 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.6466, allocations: 77.11 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.6466, allocations: 1.719 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.6467, allocations: 7.516 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.6468, allocations: 5.453 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.6468, allocations: 0 / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.138e-05/0.6468, allocations: 83.56 kB / 0.9536 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6468, allocations: 4.031 kB / 0.9536 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002106/0.647, allocations: 3.938 kB / 0.9536 GB, free: 5.305 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.000108/0.6471, allocations: 105.5 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.6473, allocations: 36.88 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6473, allocations: 0 / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.6474, allocations: 23.27 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.6477, allocations: 10.67 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.6479, allocations: 131.5 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.648, allocations: 0.6733 MB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.6481, allocations: 8.812 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.6481, allocations: 0 / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.002013/0.6501, allocations: 0.5348 MB / 0.9551 GB, free: 4.062 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