Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.004728/0.004728, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001342/0.001342, allocations: 197 kB / 16.68 MB, free: 5.93 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.604/2.604, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 66.47 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3107, allocations: 162.3 MB / 1.242 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002445/0.3132, allocations: 0.6579 MB / 1.243 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3145, allocations: 0.8043 MB / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.3145, allocations: 0 / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.3146, allocations: 4 kB / 1.243 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.3147, allocations: 3.938 kB / 1.243 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.3149, allocations: 4 kB / 1.243 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.315, allocations: 23.92 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3151, allocations: 4 kB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.3152, allocations: 19.97 kB / 1.243 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.3153, allocations: 15.92 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.3153, allocations: 0 / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.3153, allocations: 4 kB / 1.243 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3154, allocations: 0 / 1.243 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.3154, allocations: 7.938 kB / 1.243 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3155, allocations: 25.31 kB / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3155, allocations: 0 / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3155, allocations: 0 / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.3156, allocations: 0 / 1.243 GB, free: 7.285 MB / 0.9669 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.0005787/0.3161, allocations: 343.7 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3162, allocations: 12.03 kB / 1.244 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.3163, allocations: 42.66 kB / 1.244 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.3163, allocations: 4.875 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3165, allocations: 164.3 kB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3165, allocations: 4.375 kB / 1.244 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3165, allocations: 4.375 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3167, allocations: 46.23 kB / 1.244 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3167, allocations: 3.938 kB / 1.244 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3167, allocations: 8 kB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3168, allocations: 0 / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.3169, allocations: 39.95 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.3173, allocations: 248.9 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3175, allocations: 42.5 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.3175, allocations: 16.91 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3176, allocations: 3.984 kB / 1.244 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3176, allocations: 34.56 kB / 1.244 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3176, allocations: 0 / 1.244 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003616/0.318, allocations: 85.67 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.318, allocations: 55.41 kB / 1.245 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/0.3181, allocations: 97.86 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3182, allocations: 25.7 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.3182, allocations: 80.14 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.3182, allocations: 7.953 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.3183, allocations: 21.64 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3184, allocations: 310.8 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.18e-05/0.3185, allocations: 24.02 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.3186, allocations: 11.98 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3187, allocations: 40.81 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3187, allocations: 3.938 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.3189, allocations: 73.61 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.319, allocations: 8 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.319, allocations: 0 / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.319, allocations: 0 / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.3191, allocations: 8 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3191, allocations: 4 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.3192, allocations: 7.984 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3192, allocations: 0 / 1.245 GB, free: 5.203 MB / 0.9669 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.062e-05/0.3192, allocations: 113.8 kB / 1.245 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3193, allocations: 4 kB / 1.245 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3195, allocations: 76.7 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3195, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3195, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3195, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3197, allocations: 157.6 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3197, allocations: 3.938 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.3198, allocations: 16.02 kB / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3198, allocations: 0 / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3198, allocations: 192 / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3198, allocations: 0 / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3198, allocations: 0 / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3201, allocations: 167.4 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.3201, allocations: 93.03 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.3201, allocations: 0 / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.3202, allocations: 7.984 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3203, allocations: 3.938 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3203, allocations: 4 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.3203, allocations: 83.27 kB / 1.246 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3203, allocations: 0 / 1.246 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002076/0.3205, allocations: 8 kB / 1.246 GB, free: 4.383 MB / 0.9669 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.000592/0.3211, allocations: 0.7012 MB / 1.247 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3214, allocations: 31.97 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3214, allocations: 8.031 kB / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.3215, allocations: 19.97 kB / 1.247 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3217, allocations: 5.875 kB / 1.247 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.3221, allocations: 135.1 kB / 1.247 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3224, allocations: 0.6768 MB / 1.247 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.3224, allocations: 0 / 1.247 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.3225, allocations: 11.5 kB / 1.248 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3225, allocations: 0 / 1.248 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.837/1.16, allocations: 1.263 MB / 1.249 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.97, allocations: 5.234 kB / 1.249 GB, free: 1.52 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches