Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001354, allocations: 108.6 kB / 15.73 MB, free: 72 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.001514/0.001514, allocations: 182.9 kB / 16.66 MB, free: 6.602 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.6 MB / 0.7452 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.84 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4136, allocations: 159.9 MB / 1.226 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.00196/0.4156, allocations: 0.6577 MB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.4167, allocations: 0.804 MB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.4167, allocations: 0 / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.4168, allocations: 0 / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.4168, allocations: 3.938 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.417, allocations: 11.98 kB / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.4171, allocations: 27.91 kB / 1.227 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4172, allocations: 4 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.4173, allocations: 11.94 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.4174, allocations: 3.984 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.4174, allocations: 4 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.4174, allocations: 4 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.4174, allocations: 11.88 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.4175, allocations: 11.98 kB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.4176, allocations: 23.89 kB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4176, allocations: 0 / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4176, allocations: 0 / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4176, allocations: 0 / 1.227 GB, free: 7.543 MB / 0.9825 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.0005197/0.4181, allocations: 339.5 kB / 1.228 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4182, allocations: 8.031 kB / 1.228 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.4182, allocations: 12.89 kB / 1.228 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4184, allocations: 172.3 kB / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4184, allocations: 384 / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.4184, allocations: 384 / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.4186, allocations: 50.23 kB / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4186, allocations: 192 / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4186, allocations: 3.938 kB / 1.228 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4187, allocations: 3.984 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.4188, allocations: 39.95 kB / 1.228 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.4192, allocations: 240.9 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.4193, allocations: 50.41 kB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.4194, allocations: 24.91 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4194, allocations: 4 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4195, allocations: 30.56 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4195, allocations: 0 / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003543/0.4198, allocations: 81.64 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.4199, allocations: 55.34 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.42, allocations: 102 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.42, allocations: 25.7 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.4201, allocations: 88.09 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.4201, allocations: 7.953 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.4201, allocations: 9.719 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4202, allocations: 318.8 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.4203, allocations: 15.97 kB / 1.229 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.4204, allocations: 19.98 kB / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.4205, allocations: 36.83 kB / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4206, allocations: 0 / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.4207, allocations: 73.53 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4208, allocations: 4 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4208, allocations: 96 / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4208, allocations: 4 kB / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.4209, allocations: 11.98 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4209, allocations: 0 / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.4209, allocations: 7.984 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.421, allocations: 3.938 kB / 1.229 GB, free: 5.508 MB / 0.9825 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 8.309e-05/0.4211, allocations: 113.8 kB / 1.229 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.4211, allocations: 4 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.4213, allocations: 68.78 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4213, allocations: 0 / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4213, allocations: 0 / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4213, allocations: 0 / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.4215, allocations: 165.6 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4215, allocations: 3.938 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.4216, allocations: 4 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4216, allocations: 0 / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4216, allocations: 0 / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4216, allocations: 15.95 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4216, allocations: 4 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4219, allocations: 163.4 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.4219, allocations: 81.09 kB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4219, allocations: 0 / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.422, allocations: 8.031 kB / 1.23 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.4221, allocations: 7.984 kB / 1.23 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.4221, allocations: 0 / 1.23 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.4221, allocations: 79.28 kB / 1.23 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4221, allocations: 0 / 1.23 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002072/0.4223, allocations: 4 kB / 1.23 GB, free: 4.699 MB / 0.9825 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.0001919/0.4225, allocations: 110.3 kB / 1.23 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.4228, allocations: 39.95 kB / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4228, allocations: 0 / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.4229, allocations: 19.98 kB / 1.23 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4232, allocations: 7.938 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.4236, allocations: 105.3 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.4239, allocations: 0.6769 MB / 1.231 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.4239, allocations: 8 kB / 1.231 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.424, allocations: 7.438 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.424, allocations: 3.938 kB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of Templates: time 0.002886/0.4269, allocations: 451.3 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches