Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001756/0.001756, allocations: 195.5 kB / 16.14 MB, free: 6.734 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4948, allocations: 140.4 MB / 0.9491 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001445/0.4963, allocations: 0.7068 MB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.4964, allocations: 14.69 kB / 0.9498 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.4965, allocations: 1.375 kB / 0.9498 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.324e-05/0.4965, allocations: 0 / 0.9498 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.78e-05/0.4966, allocations: 5.312 kB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.814e-05/0.4967, allocations: 5.375 kB / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.626e-05/0.4967, allocations: 32.47 kB / 0.9498 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.4968, allocations: 31.11 kB / 0.9498 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.4969, allocations: 19.98 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.4969, allocations: 16.05 kB / 0.9499 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.4969, allocations: 2.75 kB / 0.9499 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.4969, allocations: 1.375 kB / 0.9499 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.4969, allocations: 12.06 kB / 0.9499 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.497, allocations: 20 kB / 0.9499 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.871e-05/0.497, allocations: 38.88 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.497, allocations: 1.375 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.81e-07/0.4971, allocations: 0 / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.4971, allocations: 3.938 kB / 0.95 GB, free: 8.422 MB / 0.7169 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.0002178/0.4973, allocations: 352.7 kB / 0.9503 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.4973, allocations: 9.625 kB / 0.9503 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/0.4973, allocations: 36.12 kB / 0.9503 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.4974, allocations: 7.594 kB / 0.9503 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.4975, allocations: 184.5 kB / 0.9505 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.4975, allocations: 5.75 kB / 0.9505 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4975, allocations: 4.5 kB / 0.9505 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.4976, allocations: 74.97 kB / 0.9506 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4976, allocations: 5.312 kB / 0.9506 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.4976, allocations: 4 kB / 0.9506 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4976, allocations: 1.375 kB / 0.9506 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.4977, allocations: 52.78 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.498, allocations: 492.2 kB / 0.9511 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.737e-05/0.4981, allocations: 166.3 kB / 0.9513 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.208e-05/0.4981, allocations: 80.14 kB / 0.9514 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.4981, allocations: 80.25 kB / 0.9514 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.4981, allocations: 111 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4981, allocations: 0 / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.568e-05/0.4982, allocations: 35.98 kB / 0.9516 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.4982, allocations: 131.8 kB / 0.9517 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.4983, allocations: 173.7 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-06/0.4983, allocations: 25.7 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.4984, allocations: 95.73 kB / 0.952 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.4984, allocations: 0 / 0.952 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.4984, allocations: 16.69 kB / 0.952 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.509e-05/0.4984, allocations: 321.7 kB / 0.9523 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.4985, allocations: 3.875 kB / 0.9523 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.4985, allocations: 11.77 kB / 0.9523 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.4985, allocations: 15 kB / 0.9523 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.4985, allocations: 0 / 0.9523 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.387e-05/0.4986, allocations: 52.16 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.4986, allocations: 5.156 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.4986, allocations: 8.031 kB / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.4986, allocations: 0 / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.4987, allocations: 7.656 kB / 0.9524 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4987, allocations: 7.984 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.4987, allocations: 7.625 kB / 0.9524 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4987, allocations: 1.531 kB / 0.9524 GB, free: 5.895 MB / 0.7169 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 4.76e-05/0.4988, allocations: 195.1 kB / 0.9526 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.479e-05/0.4988, allocations: 107.8 kB / 0.9527 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.4988, allocations: 124.5 kB / 0.9528 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4989, allocations: 181.4 kB / 0.953 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/0.4989, allocations: 181.5 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.4989, allocations: 185.7 kB / 0.9534 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.499, allocations: 416.9 kB / 0.9538 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.499, allocations: 110.3 kB / 0.9539 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.4991, allocations: 107.6 kB / 0.954 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/0.4991, allocations: 184.2 kB / 0.9541 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4991, allocations: 177.6 kB / 0.9543 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-05/0.4991, allocations: 185.6 kB / 0.9545 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-05/0.4992, allocations: 185.5 kB / 0.9547 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.179e-05/0.4992, allocations: 308.5 kB / 0.955 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.4992, allocations: 193.9 kB / 0.9551 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4993, allocations: 177.6 kB / 0.9553 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.4993, allocations: 110.5 kB / 0.9554 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.4994, allocations: 181.8 kB / 0.9556 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4994, allocations: 106.8 kB / 0.9557 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.4994, allocations: 132.7 kB / 0.9558 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4994, allocations: 0 / 0.9558 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001971/0.4996, allocations: 5.125 kB / 0.9558 GB, free: 2.27 MB / 0.7169 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.0001926/0.4998, allocations: 0.817 MB / 0.9566 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.684e-05/0.4999, allocations: 18.2 kB / 0.9566 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4999, allocations: 0 / 0.9566 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.4999, allocations: 1.844 kB / 0.9566 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.5002, allocations: 0.5283 MB / 0.9572 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.5012, allocations: 1.604 MB / 0.9587 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.5014, allocations: 0.693 MB / 0.9594 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.5014, allocations: 9.766 kB / 0.9594 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.5015, allocations: 12.97 kB / 0.9594 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5015, allocations: 10.16 kB / 0.9594 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7305/1.232, allocations: 1.472 MB / 0.9609 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.232, allocations: 206.2 kB / 0.9611 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.523, allocations: 0 / 0.9611 GB, free: 13.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches