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.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.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.01046/0.01046, allocations: 102.6 kB / 15.73 MB, free: 6.02 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.001771/0.001771, allocations: 196.2 kB / 16.68 MB, free: 5.941 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.89 kB / 0.9509 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235/1.236, allocations: 140.4 MB / 1.088 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.00211/1.239, allocations: 0.6573 MB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001082/1.24, allocations: 0.8034 MB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/1.24, allocations: 0 / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/1.24, allocations: 0 / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/1.24, allocations: 5.062 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/1.24, allocations: 9.188 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.82e-05/1.24, allocations: 28.31 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/1.24, allocations: 7.938 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/1.24, allocations: 9.406 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/1.24, allocations: 16.92 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/1.24, allocations: 2.219 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/1.24, allocations: 2.156 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/1.24, allocations: 1.469 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/1.241, allocations: 15.44 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/1.241, allocations: 20.61 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.241, allocations: 0.5156 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.594e-06/1.241, allocations: 0 / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.241, allocations: 5.094 kB / 1.09 GB, free: 4.398 MB / 0.8575 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.0004569/1.241, allocations: 331.9 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.241, allocations: 10.69 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/1.241, allocations: 5.906 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/1.241, allocations: 166.6 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.241, allocations: 1.5 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/1.241, allocations: 1.469 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.242, allocations: 61.12 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.242, allocations: 192 / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.242, allocations: 5.625 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.242, allocations: 0 / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/1.242, allocations: 36.56 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/1.242, allocations: 251.2 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/1.242, allocations: 43.73 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/1.242, allocations: 23.69 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/1.242, allocations: 0.7188 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.242, allocations: 32.17 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.242, allocations: 0 / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000386/1.243, allocations: 84.5 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.243, allocations: 52.06 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/1.243, allocations: 105.3 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/1.243, allocations: 25.7 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/1.243, allocations: 86.78 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/1.243, allocations: 0.7969 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/1.243, allocations: 16.56 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/1.243, allocations: 317.4 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/1.243, allocations: 13.64 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/1.243, allocations: 18.39 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/1.243, allocations: 37.58 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.243, allocations: 0.875 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/1.244, allocations: 74.78 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.244, allocations: 5.125 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/1.244, allocations: 1.031 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.244, allocations: 3.938 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.244, allocations: 13.89 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.244, allocations: 0 / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/1.244, allocations: 6.344 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.244, allocations: 5.062 kB / 1.091 GB, free: 2.684 MB / 0.8575 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 5.972e-05/1.244, allocations: 119.5 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/1.244, allocations: 1.578 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/1.244, allocations: 71.64 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.244, allocations: 0.6562 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.244, allocations: 1.031 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.244, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/1.244, allocations: 163.7 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.244, allocations: 4.031 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/1.244, allocations: 9.172 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.244, allocations: 5.578 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/1.245, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.245, allocations: 1.125 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.245, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/1.245, allocations: 163.7 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/1.245, allocations: 81.67 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/1.245, allocations: 5.516 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/1.245, allocations: 10.42 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/1.245, allocations: 1.875 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/1.245, allocations: 2.156 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.644e-05/1.245, allocations: 79.08 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.245, allocations: 0 / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002058/1.245, allocations: 3.156 kB / 1.092 GB, free: 1.988 MB / 0.8575 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.0001556/1.245, allocations: 110.2 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002333/1.246, allocations: 39.97 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.246, allocations: 0 / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/1.246, allocations: 16.27 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/1.246, allocations: 15.7 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/1.246, allocations: 105.5 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/1.246, allocations: 0.6746 MB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.395e-05/1.246, allocations: 1.812 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/1.247, allocations: 8.594 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.247, allocations: 3.938 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.002919/1.249, allocations: 452.1 kB / 1.093 GB, free: 0.9883 MB / 0.8575 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/jenkins/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