Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.002237/0.002237, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.002335/0.002335, allocations: 215.6 kB / 23.03 MB, free: 4.438 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.796/2.796, allocations: 476.8 MB / 0.7715 GB, free: 3.848 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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="cs",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.001965/0.001965, allocations: 66.86 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3063, allocations: 169.9 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002128/0.3084, allocations: 0.6982 MB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3095, allocations: 0.824 MB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.3095, allocations: 0 / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.3095, allocations: 3.938 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.3096, allocations: 15.86 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.3097, allocations: 15.98 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.3098, allocations: 43.84 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3099, allocations: 9.406 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.31, allocations: 19.98 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.31, allocations: 15.92 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3101, allocations: 4 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.3101, allocations: 7.938 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.3101, allocations: 11.92 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.3101, allocations: 11.94 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3102, allocations: 47.38 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3102, allocations: 4 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3102, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3103, allocations: 0 / 1.286 GB, free: 8.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005009/0.3108, allocations: 284 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3108, allocations: 12.03 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.382e-05/0.3108, allocations: 4.125 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.3108, allocations: 34.75 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.3109, allocations: 8.891 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.311, allocations: 118.4 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.311, allocations: 4.375 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.311, allocations: 4.375 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.3113, allocations: 73.95 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3113, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3113, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3113, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.3116, allocations: 71.86 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.312, allocations: 232 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3122, allocations: 50.53 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3124, allocations: 36.92 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3124, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3124, allocations: 30.56 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3124, allocations: 4 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005392/0.3129, allocations: 137.5 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.313, allocations: 59.41 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3131, allocations: 109.8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3131, allocations: 25.7 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3132, allocations: 88.14 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3132, allocations: 11.94 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3133, allocations: 13.72 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3134, allocations: 318.8 kB / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3136, allocations: 35.95 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3137, allocations: 27.97 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.314, allocations: 76.72 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.314, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003111/0.3143, allocations: 97.58 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3143, allocations: 4 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3143, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3143, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3144, allocations: 23.97 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3144, allocations: 3.938 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.3145, allocations: 11.98 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3145, allocations: 0 / 1.288 GB, free: 6.684 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 (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 9.659e-05/0.3146, allocations: 117.8 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.3147, allocations: 4 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.315, allocations: 117.5 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.315, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.315, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.315, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3152, allocations: 148.5 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3152, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.3153, allocations: 15.98 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3153, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3153, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3153, allocations: 4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3153, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.3157, allocations: 199.3 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.3157, allocations: 3.953 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3157, allocations: 4 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3158, allocations: 7.984 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.3159, allocations: 11.98 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3159, allocations: 4 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.3159, allocations: 87.28 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3159, allocations: 0 / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002184/0.3162, allocations: 4 kB / 1.288 GB, free: 5.887 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 (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.0007364/0.3169, allocations: 0.7245 MB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3172, allocations: 75.89 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3172, allocations: 0 / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3174, allocations: 35.95 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.3178, allocations: 6.031 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.3184, allocations: 159.2 kB / 1.289 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.981e-05/0.3185, allocations: 63.34 kB / 1.289 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.3185, allocations: 0 / 1.289 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.3185, allocations: 15.44 kB / 1.289 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3185, allocations: 3.938 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.341, allocations: 1.83 MB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.72, allocations: 8.062 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.56751379102934]