Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 217 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.53 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3397, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002135/0.3418, allocations: 0.6674 MB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.342, allocations: 8 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.3421, allocations: 3.938 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3422, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.3422, allocations: 4 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.3423, allocations: 11.92 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3425, allocations: 39.91 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3426, allocations: 23.98 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.3426, allocations: 15.98 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.3427, allocations: 19.86 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3427, allocations: 4 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.3427, allocations: 4 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.3427, allocations: 8 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3428, allocations: 15.88 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3429, allocations: 59.25 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3429, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3429, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3429, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 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.000395/0.3433, allocations: 278.2 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3434, allocations: 8.031 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.3434, allocations: 42.69 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.3435, allocations: 4.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.3436, allocations: 122.4 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3437, allocations: 8.375 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3437, allocations: 8.359 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3438, allocations: 74.17 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3439, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3439, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3439, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.344, allocations: 51.95 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.3445, allocations: 454.2 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3446, allocations: 169.1 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.3447, allocations: 80.14 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.3447, allocations: 75.28 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/0.3448, allocations: 113.8 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3448, allocations: 0 / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.414e-05/0.3449, allocations: 37.72 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.3449, allocations: 134.7 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3451, allocations: 179.6 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3451, allocations: 25.7 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.3452, allocations: 100.1 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.3452, allocations: 0 / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.3453, allocations: 9.719 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3454, allocations: 322.8 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.3454, allocations: 4 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.3455, allocations: 11.98 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.3455, allocations: 12.84 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3455, allocations: 3.938 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001273/0.3456, allocations: 53.75 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3456, allocations: 4 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3456, allocations: 0 / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3457, allocations: 4 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.3457, allocations: 3.938 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3457, allocations: 0 / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.3458, allocations: 11.89 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3458, allocations: 7.984 kB / 1.287 GB, free: 8.266 MB / 0.9825 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 0.000128/0.3459, allocations: 193.2 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.346, allocations: 116.9 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.466e-05/0.3461, allocations: 108.8 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/0.3462, allocations: 184.2 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.3463, allocations: 180.2 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/0.3464, allocations: 184.2 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.3467, allocations: 396.2 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.3467, allocations: 102.8 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.3468, allocations: 104.9 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-05/0.3469, allocations: 184.2 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.347, allocations: 180.3 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-05/0.3471, allocations: 188.1 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.998e-05/0.3472, allocations: 184.3 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3473, allocations: 307.7 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.3474, allocations: 117 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3475, allocations: 180.2 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3476, allocations: 112.9 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3477, allocations: 176.3 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.3478, allocations: 108.9 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001367/0.3479, allocations: 134 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3479, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002336/0.3482, allocations: 8 kB / 1.29 GB, free: 4.695 MB / 0.9825 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.0007083/0.3489, allocations: 0.8091 MB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.349, allocations: 11.92 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.349, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.349, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.3496, allocations: 469.2 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.3514, allocations: 1.602 MB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3518, allocations: 0.6885 MB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.3518, allocations: 4 kB / 1.293 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.3518, allocations: 19.44 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/0.3518, allocations: 112 / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.3806, allocations: 1.739 MB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.66, allocations: 0.7031 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.338965826900676]