Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.006705/0.006705, allocations: 102 kB / 15.73 MB, free: 6.445 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.001759/0.001759, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.605/2.605, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 71.89 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2945, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001884/0.2964, allocations: 0.7023 MB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.2974, allocations: 0.8019 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.2974, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.2974, allocations: 3.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.2975, allocations: 11.88 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.472e-05/0.2976, allocations: 15.98 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.2977, allocations: 43.84 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.2978, allocations: 12 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.2979, allocations: 11.98 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.2979, allocations: 27.86 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.298, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.298, allocations: 4 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.298, allocations: 15.92 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.298, allocations: 19.92 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2981, allocations: 43.8 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2982, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2982, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2982, allocations: 0 / 1.222 GB, free: 12.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005603/0.2987, allocations: 363.3 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2988, allocations: 8.031 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.2988, allocations: 34.69 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.2989, allocations: 12.89 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.299, allocations: 172.3 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.299, allocations: 8.375 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.2991, allocations: 384 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.2993, allocations: 66.22 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2993, allocations: 7.938 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2993, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2993, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.2996, allocations: 67.92 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.3, allocations: 268.8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.3002, allocations: 58.53 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3004, allocations: 36.92 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3004, allocations: 3.984 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3004, allocations: 38.56 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3005, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005211/0.301, allocations: 133.5 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.301, allocations: 51.41 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.3011, allocations: 109.8 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3011, allocations: 25.7 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.3012, allocations: 84.14 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.3012, allocations: 11.84 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.3013, allocations: 21.7 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3014, allocations: 314.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3015, allocations: 35.91 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3017, allocations: 31.95 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.302, allocations: 80.66 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.302, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003163/0.3023, allocations: 93.62 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3023, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3023, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3023, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3025, allocations: 15.98 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3025, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.3026, allocations: 23.86 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3026, allocations: 0 / 1.224 GB, free: 10.12 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 (3): * Single equations (assignments): 3 * 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.202e-05/0.3027, allocations: 117.8 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.3027, allocations: 0 / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.3031, allocations: 113.8 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3031, allocations: 0 / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3031, allocations: 4 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3031, allocations: 4.031 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3033, allocations: 173.6 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3033, allocations: 0 / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.3034, allocations: 15.98 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3034, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3034, allocations: 4 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3034, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.3034, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.3038, allocations: 207.3 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.3038, allocations: 77.11 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3038, allocations: 4 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3039, allocations: 11.98 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.304, allocations: 3.984 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.304, allocations: 4 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.3041, allocations: 83.28 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3041, allocations: 0 / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002023/0.3043, allocations: 8 kB / 1.225 GB, free: 9.199 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 (3): * Single equations (assignments): 3 * 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.0007057/0.305, allocations: 0.7324 MB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.3053, allocations: 75.86 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3053, allocations: 3.938 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3055, allocations: 35.95 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3058, allocations: 9.969 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.3062, allocations: 162.9 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3065, allocations: 0.6846 MB / 1.226 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.3065, allocations: 0 / 1.226 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.3066, allocations: 15.44 kB / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3066, allocations: 0 / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.539/0.8456, allocations: 1.628 MB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.65, allocations: 3.984 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches