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.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001118/0.001118, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.346/2.346, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6187/0.62, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001734/0.6218, allocations: 0.7746 MB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.6225, allocations: 0.8 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.6225, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.6226, allocations: 3.984 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.6226, allocations: 7.938 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.374e-05/0.6227, allocations: 11.98 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.6228, allocations: 47.84 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.6229, allocations: 8 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.623, allocations: 15.92 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.6231, allocations: 23.91 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.6231, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.6231, allocations: 7.938 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.6231, allocations: 4 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.6232, allocations: 19.92 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.184e-05/0.6232, allocations: 39.86 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6232, allocations: 3.938 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6232, allocations: 0 / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.6232, allocations: 0 / 1.018 GB, free: 1.012 MB / 0.7637 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.0004637/0.6237, allocations: 365.6 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.6238, allocations: 8.031 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.6238, allocations: 34.75 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.6238, allocations: 4.938 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.465e-05/0.6239, allocations: 172.3 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.6239, allocations: 384 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.6239, allocations: 4.375 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.6242, allocations: 74.16 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6242, allocations: 3.938 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.6242, allocations: 4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6242, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.6245, allocations: 67.92 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.6248, allocations: 260.9 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.625, allocations: 62.53 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.6252, allocations: 40.86 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.6252, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.6252, allocations: 30.56 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.6252, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004879/0.6257, allocations: 133.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6258, allocations: 55.41 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.6258, allocations: 113.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6259, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.6259, allocations: 84.14 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.6259, allocations: 23.73 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.626, allocations: 9.719 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.6261, allocations: 318.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.6262, allocations: 35.89 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.6263, allocations: 31.97 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.6266, allocations: 73 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6266, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002788/0.6269, allocations: 97.61 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6269, allocations: 9.562 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6269, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.6269, allocations: 7.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.627, allocations: 15.97 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.6271, allocations: 7.938 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.6271, allocations: 7.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.6271, allocations: 4 kB / 1.021 GB, free: 14.64 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 7.355e-05/0.6272, allocations: 114.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.6273, allocations: 7.906 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.6276, allocations: 105.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6276, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6276, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6276, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.6278, allocations: 173.6 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6278, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.6279, allocations: 15.98 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.6279, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.6279, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6279, allocations: 3.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6279, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.6282, allocations: 195.4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.6283, allocations: 81.02 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.6283, allocations: 12 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6284, allocations: 7.984 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.6284, allocations: 7.984 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.6284, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.6285, allocations: 91.58 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6285, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002098/0.6287, allocations: 4 kB / 1.021 GB, free: 13.72 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.0006254/0.6293, allocations: 0.7357 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.6296, allocations: 71.92 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6296, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.6298, allocations: 35.95 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.6301, allocations: 8 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.6305, allocations: 168.8 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.6307, allocations: 0.6809 MB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.6307, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.6308, allocations: 19.42 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6308, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.6409, allocations: 1.349 MB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.6411, allocations: 203.7 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.242, allocations: 0 / 1.025 GB, free: 10.39 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