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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001243/0.001243, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001273/0.001273, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.455/2.455, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.19 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2348, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001538/0.2364, allocations: 0.7262 MB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006748/0.2371, allocations: 0.804 MB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.2371, allocations: 4 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.2371, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.2372, allocations: 7.922 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.276e-05/0.2373, allocations: 3.984 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.2373, allocations: 27.94 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.2374, allocations: 11.92 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.2374, allocations: 4 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.2375, allocations: 15.92 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2375, allocations: 0 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-06/0.2375, allocations: 4 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.2375, allocations: 4 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.2375, allocations: 7.938 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.054e-05/0.2376, allocations: 23.95 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.2376, allocations: 0 / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2376, allocations: 4 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.2376, allocations: 0 / 1.054 GB, free: 6.945 MB / 0.8106 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.0003116/0.2379, allocations: 331.8 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.238, allocations: 16.61 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.238, allocations: 34.75 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.73e-05/0.238, allocations: 4.844 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.582e-05/0.2381, allocations: 164.3 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.2381, allocations: 4.375 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.2381, allocations: 384 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.2383, allocations: 62.16 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.2383, allocations: 3.938 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.2383, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2383, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2385, allocations: 35.95 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.2387, allocations: 245 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2388, allocations: 38.5 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.2389, allocations: 28.83 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.2389, allocations: 4 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2389, allocations: 30.56 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.185e-06/0.2389, allocations: 4 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002865/0.2392, allocations: 81.64 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.2393, allocations: 51.41 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.2393, allocations: 97.8 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.2393, allocations: 25.7 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.2394, allocations: 84.14 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.2394, allocations: 12.02 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.2394, allocations: 13.72 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.2395, allocations: 314.8 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.2396, allocations: 19.92 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.2397, allocations: 19.97 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2398, allocations: 40.89 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2398, allocations: 3.938 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001691/0.24, allocations: 69.56 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.24, allocations: 4 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.24, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.24, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.2401, allocations: 11.98 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.2401, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.2401, allocations: 8.031 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2402, allocations: 7.938 kB / 1.056 GB, free: 4.875 MB / 0.8106 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.376e-05/0.2402, allocations: 113.8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.2402, allocations: 4 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.2404, allocations: 72.7 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2404, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2405, allocations: 4.031 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.2405, allocations: 0 / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.2406, allocations: 157.6 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2406, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.2407, allocations: 7.984 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2407, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.2407, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2407, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2407, allocations: 7.984 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2409, allocations: 167.4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.2409, allocations: 85.02 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.2409, allocations: 0 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.241, allocations: 7.984 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.241, allocations: 0 / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.241, allocations: 0 / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.2411, allocations: 91.48 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2411, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001972/0.2413, allocations: 7.938 kB / 1.057 GB, free: 4.062 MB / 0.8106 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.0004198/0.2417, allocations: 0.7045 MB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.2419, allocations: 35.95 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2419, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.242, allocations: 19.98 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2422, allocations: 1.875 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.2425, allocations: 139.3 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.2427, allocations: 0.6769 MB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.836e-05/0.2427, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.2428, allocations: 11.44 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2428, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3945/0.6373, allocations: 1.112 MB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.6375, allocations: 198.4 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.131, allocations: 2.812 kB / 1.059 GB, free: 1.133 MB / 0.8106 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=50 --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