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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001673/0.001673, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6534, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002116/0.6556, allocations: 0.6341 MB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.6558, allocations: 14.69 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.6558, allocations: 0 / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.656, allocations: 9.297 kB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.656, allocations: 4 kB / 0.9504 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.6561, allocations: 2.75 kB / 0.9504 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.6563, allocations: 45.72 kB / 0.9504 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.6564, allocations: 30.92 kB / 0.9505 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.6565, allocations: 20.95 kB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.6565, allocations: 12.41 kB / 0.9505 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.6565, allocations: 3.594 kB / 0.9505 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.6566, allocations: 2.406 kB / 0.9505 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.6566, allocations: 16.23 kB / 0.9505 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.6566, allocations: 19.06 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.6568, allocations: 49.67 kB / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6568, allocations: 0 / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6568, allocations: 0 / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6568, allocations: 1.094 kB / 0.9506 GB, free: 8.484 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.0003612/0.6571, allocations: 343.8 kB / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.6572, allocations: 10.03 kB / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.6572, allocations: 40.08 kB / 0.951 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.6573, allocations: 15.66 kB / 0.951 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.6574, allocations: 180.6 kB / 0.9511 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6575, allocations: 2.656 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.6575, allocations: 10.89 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.6576, allocations: 72.23 kB / 0.9512 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.6577, allocations: 3.938 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.6577, allocations: 1.688 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6577, allocations: 0 / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.6578, allocations: 52.58 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.6582, allocations: 489.4 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.6583, allocations: 166.2 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.6583, allocations: 80.14 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.6583, allocations: 79.22 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6583, allocations: 115 kB / 0.9522 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6584, allocations: 0 / 0.9522 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.704e-05/0.6584, allocations: 33.45 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.6585, allocations: 134.6 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.6586, allocations: 169.7 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.6586, allocations: 30.77 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.6587, allocations: 99.06 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.6587, allocations: 0 / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.6587, allocations: 16.91 kB / 0.9526 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.6588, allocations: 318.3 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.6588, allocations: 6.547 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.6588, allocations: 13.39 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.6588, allocations: 14.77 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6588, allocations: 0 / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001052/0.6589, allocations: 51.05 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.659, allocations: 4.844 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.659, allocations: 9.125 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.659, allocations: 0 / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.659, allocations: 6.562 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.6591, allocations: 1.5 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.6591, allocations: 7.156 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6591, allocations: 1.188 kB / 0.953 GB, free: 5.965 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 6.236e-05/0.6592, allocations: 195.5 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.6592, allocations: 111.4 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.6592, allocations: 120.1 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.6593, allocations: 189.7 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.6593, allocations: 181.8 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.6593, allocations: 176.3 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.6595, allocations: 418.3 kB / 0.9544 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.6595, allocations: 110.2 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.6595, allocations: 108.9 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/0.6595, allocations: 177.5 kB / 0.9548 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.6596, allocations: 178.9 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-05/0.6596, allocations: 185.2 kB / 0.9551 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-05/0.6596, allocations: 177.5 kB / 0.9553 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.746e-05/0.6597, allocations: 317.3 kB / 0.9556 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.6597, allocations: 189 kB / 0.9558 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.6598, allocations: 181.9 kB / 0.9559 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.6598, allocations: 112 kB / 0.956 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.6599, allocations: 184.2 kB / 0.9562 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.6599, allocations: 107.2 kB / 0.9563 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.775e-05/0.66, allocations: 136.3 kB / 0.9564 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.66, allocations: 0 / 0.9564 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002119/0.6602, allocations: 5.438 kB / 0.9564 GB, free: 2.336 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.0002773/0.6605, allocations: 0.8172 MB / 0.9572 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.6606, allocations: 5.953 kB / 0.9573 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6606, allocations: 0 / 0.9573 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.6606, allocations: 1.406 kB / 0.9573 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.6609, allocations: 470.5 kB / 0.9577 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6621, allocations: 1.595 MB / 0.9593 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.6624, allocations: 0.6934 MB / 0.9599 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.6624, allocations: 8.312 kB / 0.9599 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.6625, allocations: 21.86 kB / 0.96 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.6625, allocations: 3.938 kB / 0.96 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.6818, allocations: 1.594 MB / 0.9615 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.952, allocations: 19.89 kB / 0.9615 GB, free: 13.98 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