Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005879/0.005879, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001405/0.001406, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.417/1.417, 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 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 1.018 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3357, allocations: 151.6 MB / 1.166 GB, free: 7.18 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002465/0.3382, allocations: 0.6439 MB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3396, allocations: 0.8082 MB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.3397, allocations: 0 / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.3397, allocations: 11.92 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.3398, allocations: 7.938 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.34, allocations: 4 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3401, allocations: 23.92 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3402, allocations: 8 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.3403, allocations: 7.984 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.3404, allocations: 15.92 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3404, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.3404, allocations: 4 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.3405, allocations: 11.98 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.3405, allocations: 3.938 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3406, allocations: 27.91 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3407, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3407, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3407, allocations: 4 kB / 1.168 GB, free: 5.586 MB / 0.92 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.0005677/0.3413, allocations: 330.3 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.3413, allocations: 8.031 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.3414, allocations: 34.75 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.3414, allocations: 16.92 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3416, allocations: 164.4 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3416, allocations: 384 / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3416, allocations: 4.375 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.3418, allocations: 50.17 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3419, allocations: 3.938 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3419, allocations: 4 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3419, allocations: 0 / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3421, allocations: 31.97 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.3425, allocations: 245 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.3427, allocations: 42.44 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3428, allocations: 24.91 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3428, allocations: 7.984 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3429, allocations: 30.56 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3429, allocations: 3.938 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003922/0.3433, allocations: 81.56 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3433, allocations: 55.39 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.3434, allocations: 102 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3435, allocations: 25.7 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.3435, allocations: 88.08 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3435, allocations: 4.469 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.3436, allocations: 17.7 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3437, allocations: 314.8 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3438, allocations: 11.98 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.344, allocations: 23.98 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3442, allocations: 40.75 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3442, allocations: 3.938 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002522/0.3444, allocations: 61.67 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3445, allocations: 9.703 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3445, allocations: 96 / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3445, allocations: 8 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3446, allocations: 7.938 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3447, allocations: 3.984 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.3447, allocations: 7.984 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3447, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 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 9.864e-05/0.3449, allocations: 118.1 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3449, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.3452, allocations: 76.77 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3452, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3452, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3452, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3455, allocations: 161.5 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3455, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.041e-05/0.3456, allocations: 11.98 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3456, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3456, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3456, allocations: 7.969 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3456, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.3459, allocations: 171.5 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.346, allocations: 81.09 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.346, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3461, allocations: 8.016 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3462, allocations: 8 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3462, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.3462, allocations: 87.27 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3463, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003309/0.3466, allocations: 7.938 kB / 1.17 GB, free: 2.699 MB / 0.92 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.0006582/0.3473, allocations: 0.6967 MB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3475, allocations: 35.97 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3475, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3476, allocations: 19.97 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3481, allocations: 12.09 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.3486, allocations: 139.1 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3491, allocations: 0.6806 MB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.3491, allocations: 4 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.3491, allocations: 11.44 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.3491, allocations: 0 / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.3673, allocations: 1.264 MB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.086, allocations: 11.44 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches