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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008332/0.0008329, allocations: 98.27 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.005447/0.005447, allocations: 172.4 kB / 16.27 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.191/1.191, 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 11.0.0-master/package.mo): time 2.432/2.432, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002819, allocations: 11.25 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.0006978/0.2304, allocations: 392.5 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.2305, allocations: 15.94 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.2305, allocations: 0 / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.903e-05/0.2306, allocations: 11.92 kB / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.2306, allocations: 0 / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.823e-05/0.2307, allocations: 4 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.585e-05/0.2308, allocations: 39.97 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.2309, allocations: 23.98 kB / 1.059 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.2309, allocations: 15.92 kB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.231, allocations: 7.938 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.231, allocations: 3.938 kB / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.231, allocations: 0 / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.231, allocations: 7.938 kB / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.2311, allocations: 41.58 kB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.759e-05/0.2312, allocations: 43.84 kB / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2312, allocations: 0 / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2312, allocations: 0 / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2312, allocations: 0 / 1.059 GB, free: 4.273 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.0002691/0.2315, allocations: 347.7 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2315, allocations: 11.97 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.2315, allocations: 34.75 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.2316, allocations: 8.844 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2317, allocations: 176.3 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2317, allocations: 8.375 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.2317, allocations: 4.312 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.2318, allocations: 82.16 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2319, allocations: 3.938 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2319, allocations: 8 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2319, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.232, allocations: 43.97 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2324, allocations: 491 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.2324, allocations: 165.1 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.2325, allocations: 84.14 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2325, allocations: 75.31 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2325, allocations: 117.8 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2325, allocations: 0 / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.186e-05/0.2326, allocations: 33.55 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2326, allocations: 134.6 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2328, allocations: 171.7 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2328, allocations: 29.7 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.2329, allocations: 96.05 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.2329, allocations: 0 / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2329, allocations: 9.719 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.233, allocations: 322.8 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.233, allocations: 4 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.233, allocations: 7.984 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.233, allocations: 20.91 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2331, allocations: 3.938 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.261e-05/0.2331, allocations: 49.69 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.2332, allocations: 4 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2332, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.2332, allocations: 4 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.2332, allocations: 7.938 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.2332, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.2333, allocations: 11.84 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2333, allocations: 7.984 kB / 1.062 GB, free: 1.508 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 7.623e-05/0.2334, allocations: 193.2 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.2334, allocations: 112.9 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.2335, allocations: 108.9 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.2335, allocations: 180.2 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-05/0.2336, allocations: 184.2 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-05/0.2336, allocations: 192.2 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2338, allocations: 417.1 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.824e-05/0.2339, allocations: 105 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.2339, allocations: 101.1 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.717e-05/0.234, allocations: 184.1 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.234, allocations: 184.2 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-05/0.2341, allocations: 192.1 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.696e-05/0.2341, allocations: 176.3 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.2342, allocations: 315.7 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.2343, allocations: 190.2 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.2344, allocations: 188.2 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.2344, allocations: 109 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.2345, allocations: 180.3 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2345, allocations: 108.9 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.577e-05/0.2346, allocations: 129 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2346, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001977/0.2348, allocations: 4 kB / 1.065 GB, free: 13.81 MB / 0.8262 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.0003382/0.2352, allocations: 0.8126 MB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.243e-05/0.2352, allocations: 15.92 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2352, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.2352, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.2356, allocations: 0.5302 MB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2367, allocations: 1.604 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2369, allocations: 0.6965 MB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.2369, allocations: 7.984 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.237, allocations: 15.44 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.237, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.549/2.786, allocations: 1.412 MB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/2.786, allocations: 207.7 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/4.378, allocations: 0 / 1.07 GB, free: 8.449 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