Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_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.0008796/0.0008796, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005358/0.005358, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.348/2.348, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 12 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5895, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.0005994/0.5901, allocations: 438.2 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006675/0.5908, allocations: 0.8001 MB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.5908, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.055e-06/0.5909, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.5909, allocations: 11.92 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.151e-05/0.591, allocations: 12 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.591, allocations: 47.78 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.5911, allocations: 8 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.5911, allocations: 11.98 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.5912, allocations: 15.92 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.5912, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-06/0.5912, allocations: 3.938 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.5912, allocations: 11.97 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.5912, allocations: 41.64 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.825e-05/0.5913, allocations: 39.86 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.5913, allocations: 3.938 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5913, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.124e-06/0.5913, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 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.0003555/0.5917, allocations: 375.3 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.465e-05/0.5917, allocations: 8.031 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.282e-05/0.5917, allocations: 34.75 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.425e-05/0.5918, allocations: 0.9375 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.5918, allocations: 180.3 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.5918, allocations: 4.312 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.5919, allocations: 4.375 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.5921, allocations: 78.22 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.5921, allocations: 3.938 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.5921, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5921, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.5924, allocations: 83.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.5926, allocations: 268.8 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.5928, allocations: 74.47 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.593, allocations: 48.92 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.593, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.593, allocations: 30.56 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.593, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004953/0.5935, allocations: 165.8 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.5935, allocations: 55.34 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.5936, allocations: 117.7 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.5936, allocations: 29.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.5937, allocations: 84.14 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.5937, allocations: 7.844 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.5937, allocations: 17.7 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.5938, allocations: 318.8 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.5939, allocations: 39.97 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.5941, allocations: 47.94 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.5943, allocations: 92.72 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5943, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.5947, allocations: 129.5 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.5947, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.5947, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.5947, allocations: 7.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5948, allocations: 15.98 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.5948, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.5949, allocations: 19.97 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5949, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 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 5.622e-05/0.595, allocations: 114.3 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.595, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.5953, allocations: 121.5 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.5954, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5954, allocations: 7.938 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.5954, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.5955, allocations: 169.6 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5955, allocations: 3.984 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.5956, allocations: 19.98 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5956, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.5956, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5956, allocations: 4 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5956, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.596, allocations: 223.3 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.596, allocations: 77.11 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.596, allocations: 8 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5961, allocations: 19.92 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.5962, allocations: 11.98 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.5962, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.5962, allocations: 83.28 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5962, allocations: 3.938 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000194/0.5964, allocations: 12 kB / 1.028 GB, free: 10.87 MB / 0.7794 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.0005524/0.597, allocations: 0.7475 MB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.5973, allocations: 96.2 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5973, allocations: 0 / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5975, allocations: 51.89 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.5977, allocations: 4 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.598, allocations: 166.5 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.5982, allocations: 0.6809 MB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.5982, allocations: 7.984 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.5982, allocations: 11.44 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5982, allocations: 0 / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2176/0.8159, allocations: 1.288 MB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.8161, allocations: 200.4 kB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.504, allocations: 0 / 1.031 GB, free: 7.586 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches