Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001098/0.001098, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009953/0.0009953, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8959/0.8959, allocations: 177.1 MB / 202.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.623/1.623, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 3.938 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/2.078e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001419/0.00144, allocations: 0.6947 MB / 0.9513 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007484/0.002188, allocations: 0.8237 MB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.002218, allocations: 0 / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002244, allocations: 7.938 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.0023, allocations: 7.938 kB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 9.819e-05/0.002398, allocations: 15.97 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.00247, allocations: 43.86 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.00256, allocations: 7.984 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.002629, allocations: 27.91 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.002669, allocations: 19.92 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.002693, allocations: 4 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.002702, allocations: 4 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.002718, allocations: 7.984 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.002738, allocations: 12 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.305e-05/0.002821, allocations: 51.78 kB / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002823, allocations: 0 / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002824, allocations: 0 / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002828, allocations: 0 / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003672/0.003195, allocations: 286.2 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.003234, allocations: 12.03 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.003262, allocations: 30.75 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.003283, allocations: 8.828 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.003357, allocations: 117.7 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.003365, allocations: 384 / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.003375, allocations: 8.375 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.003531, allocations: 70.14 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.003538, allocations: 192 / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.003547, allocations: 4.375 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.003553, allocations: 8.125 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.003694, allocations: 67.92 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.00397, allocations: 224 kB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.004088, allocations: 58.47 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.004162, allocations: 36.92 kB / 0.9531 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.004181, allocations: 3.938 kB / 0.9532 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.004199, allocations: 46.48 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.0042, allocations: 0 / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002935/0.004493, allocations: 121.6 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.004521, allocations: 51.41 kB / 0.9534 GB, free: 408 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.004581, allocations: 109.8 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004591, allocations: 25.7 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.004625, allocations: 92.12 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.00464, allocations: 11.84 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004665, allocations: 17.72 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.004753, allocations: 314.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.004827, allocations: 31.95 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.004891, allocations: 31.97 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.005028, allocations: 72.78 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005029, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000157/0.005186, allocations: 97.56 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.005198, allocations: 4 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.005203, allocations: 4 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.005214, allocations: 4 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.00529, allocations: 19.91 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.005295, allocations: 0 / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.005329, allocations: 15.98 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.005336, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 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 (3): * Single equations (assignments): 3 * 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 5.132e-05/0.005387, allocations: 109.8 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.005402, allocations: 11.89 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.005592, allocations: 109.5 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005593, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.005598, allocations: 7.984 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.005601, allocations: 384 / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.005703, allocations: 136.7 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005704, allocations: 3.938 kB / 0.9545 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.005742, allocations: 15.92 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.005746, allocations: 4 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.005753, allocations: 7.984 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.005755, allocations: 3.938 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005756, allocations: 0 / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.005937, allocations: 191.4 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.005945, allocations: 15.88 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.005955, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.006005, allocations: 15.98 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.006039, allocations: 7.984 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006041, allocations: 0 / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.006069, allocations: 91.27 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006069, allocations: 0 / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001476/0.006216, allocations: 8 kB / 0.9549 GB, free: 14.71 MB / 0.9167 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 (3): * Single equations (assignments): 3 * 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.0003525/0.006569, allocations: 0.724 MB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.006744, allocations: 71.92 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006746, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.006815, allocations: 35.95 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.007027, allocations: 7.938 kB / 0.9557 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.007345, allocations: 154.4 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.007388, allocations: 67.28 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.007407, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.007445, allocations: 20.48 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.007446, allocations: 0 / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.02161, allocations: 2.322 MB / 0.9582 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.89, allocations: 0 / 0.9582 GB, free: 11.37 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 10.745534865185618]