Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_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.001196/0.001196, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001115/0.001115, allocations: 200.5 kB / 16.26 MB, free: 6.621 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.27 kB / 0.8987 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3167, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001856/0.3186, allocations: 0.7145 MB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.3188, allocations: 12 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.3188, allocations: 3.938 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.319, allocations: 0 / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.319, allocations: 4 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.774e-05/0.3191, allocations: 3.984 kB / 1.053 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3192, allocations: 43.86 kB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3194, allocations: 35.97 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.3194, allocations: 12 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.268e-05/0.3194, allocations: 19.86 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3194, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.3195, allocations: 4 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.3195, allocations: 8 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.3195, allocations: 19.86 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/0.3196, allocations: 43.81 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3196, allocations: 4 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3196, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3196, allocations: 4 kB / 1.053 GB, free: 7.672 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003364/0.32, allocations: 351.6 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.32, allocations: 12.62 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.3201, allocations: 34.75 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3201, allocations: 8.844 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3203, allocations: 180.2 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3203, allocations: 4.375 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3203, allocations: 8.375 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3204, allocations: 82.16 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3205, allocations: 7.938 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3205, allocations: 4 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3205, allocations: 0 / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.3206, allocations: 47.97 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.321, allocations: 487 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.3211, allocations: 169.1 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.3211, allocations: 84.17 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.3212, allocations: 83.28 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3212, allocations: 105.8 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3212, allocations: 0 / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.314e-05/0.3213, allocations: 29.7 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3213, allocations: 130.6 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3215, allocations: 179.5 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3215, allocations: 25.7 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.3216, allocations: 96.05 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.3216, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.3216, allocations: 17.7 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.3217, allocations: 318.8 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.3217, allocations: 7.984 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.382e-05/0.3217, allocations: 12 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.3218, allocations: 16.91 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3218, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/0.3219, allocations: 53.58 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3219, allocations: 8.109 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3219, allocations: 3.938 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.3219, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.322, allocations: 7.938 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.322, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.322, allocations: 15.86 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.322, allocations: 4.031 kB / 1.056 GB, free: 4.891 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 (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.286e-05/0.3221, allocations: 193.1 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3222, allocations: 108.9 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.3223, allocations: 112.9 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-05/0.3223, allocations: 188.1 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.241e-05/0.3224, allocations: 188.2 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.793e-05/0.3224, allocations: 180.2 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3226, allocations: 417.2 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.294e-05/0.3227, allocations: 101 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.3227, allocations: 108.9 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.883e-05/0.3228, allocations: 176.3 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.3228, allocations: 188.2 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.665e-05/0.3229, allocations: 180.4 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.423e-05/0.3229, allocations: 188.3 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.3231, allocations: 307.7 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.3231, allocations: 198 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.3232, allocations: 180.3 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.3233, allocations: 108.9 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3234, allocations: 184.2 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3234, allocations: 101 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.666e-05/0.3235, allocations: 132.8 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3235, allocations: 4 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002016/0.3237, allocations: 8 kB / 1.059 GB, free: 1.191 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 (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.0003968/0.3241, allocations: 0.8086 MB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.3242, allocations: 7.984 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3242, allocations: 4.062 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3242, allocations: 0 / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3246, allocations: 467.6 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3258, allocations: 1.599 MB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.326, allocations: 0.6963 MB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.326, allocations: 11.97 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.3261, allocations: 15.44 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3261, allocations: 0 / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.725/2.051, allocations: 1.525 MB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003494/2.051, allocations: 210.7 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/4.201, allocations: 0 / 1.064 GB, free: 11.79 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches