Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.MultiMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",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.001155/0.001155, 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.001214/0.001214, allocations: 192.4 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.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5947, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001947/0.5967, allocations: 0.724 MB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.5968, allocations: 8 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.5969, allocations: 4 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.969e-05/0.597, allocations: 7.938 kB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.597, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.995e-05/0.5971, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.567e-05/0.5972, allocations: 47.84 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.5973, allocations: 35.97 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.5973, allocations: 11.94 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.808e-05/0.5974, allocations: 15.92 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5974, allocations: 4 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.5974, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.5975, allocations: 11.94 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.5975, allocations: 19.88 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.049e-05/0.5976, allocations: 47.86 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5976, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5976, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.5976, allocations: 0 / 1.018 GB, free: 1.785 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000302/0.5979, allocations: 357.6 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5979, allocations: 8.031 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.598, allocations: 38.75 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.598, allocations: 4.844 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.5982, allocations: 180.3 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.5982, allocations: 12.31 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.5983, allocations: 4.375 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5984, allocations: 78.2 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5984, allocations: 3.938 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5984, allocations: 4 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5984, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.5985, allocations: 43.97 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.599, allocations: 495 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.5991, allocations: 165.1 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.5991, allocations: 84.14 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.5991, allocations: 75.28 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.5992, allocations: 117.8 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5992, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.611e-05/0.5993, allocations: 33.61 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.5993, allocations: 130.6 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5995, allocations: 172.3 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.5995, allocations: 29.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.5996, allocations: 92.05 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.5996, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.5996, allocations: 13.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5998, allocations: 326.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.5998, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.5998, allocations: 7.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.5998, allocations: 20.78 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5998, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.6, allocations: 53.62 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.6, allocations: 4.094 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.6, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.6001, allocations: 7.938 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.6001, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.6001, allocations: 7.906 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.6001, allocations: 4 kB / 1.02 GB, free: 15.02 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 (1): * Single equations (assignments): 1 * 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 9.983e-05/0.6002, allocations: 193.6 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.6003, allocations: 116.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.6004, allocations: 112.9 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/0.6005, allocations: 188.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.848e-05/0.6006, allocations: 180.3 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/0.6007, allocations: 180.2 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.6009, allocations: 425.1 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.601, allocations: 105 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.601, allocations: 108.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.6011, allocations: 176.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.6012, allocations: 180.4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.667e-05/0.6013, allocations: 192.1 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.96e-05/0.6013, allocations: 176.3 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.6015, allocations: 307.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.6016, allocations: 190 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.6017, allocations: 188.2 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.6018, allocations: 104.9 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.6019, allocations: 184.2 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.6019, allocations: 105.3 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001061/0.602, allocations: 131.2 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.602, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000208/0.6022, allocations: 4 kB / 1.024 GB, free: 11.32 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 (0): * Single equations (assignments): 0 * 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.0005343/0.6028, allocations: 0.8203 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.6028, allocations: 12.02 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6029, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-06/0.6029, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.6034, allocations: 465.7 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.6048, allocations: 1.612 MB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.6051, allocations: 0.6924 MB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.6051, allocations: 11.92 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.6052, allocations: 15.44 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6052, allocations: 0 / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.6162, allocations: 1.515 MB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.6165, allocations: 200.9 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.285, allocations: 0 / 1.029 GB, free: 5.902 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches