Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.007864/0.007865, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001902/0.001903, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3224, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002003/0.3245, allocations: 0.6984 MB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3255, allocations: 0.8082 MB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.3256, allocations: 4 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.3256, allocations: 3.938 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.3257, allocations: 7.922 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.3258, allocations: 7.984 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.688e-05/0.3259, allocations: 47.86 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3261, allocations: 19.97 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.3261, allocations: 15.92 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.3262, allocations: 19.92 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3262, allocations: 4 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3263, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.3263, allocations: 7.984 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.3263, allocations: 19.88 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.3264, allocations: 43.86 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3264, allocations: 0 / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3264, allocations: 0 / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3264, allocations: 4 kB / 1.168 GB, free: 5.621 MB / 0.92 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.0005018/0.327, allocations: 358.2 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.327, allocations: 11.97 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.327, allocations: 34.75 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.3271, allocations: 8.844 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3272, allocations: 181 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3272, allocations: 384 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.3272, allocations: 384 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3275, allocations: 78.2 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3275, allocations: 3.938 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3275, allocations: 0 / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.3275, allocations: 0 / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.3278, allocations: 67.86 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3282, allocations: 268.9 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.3284, allocations: 58.53 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.3285, allocations: 40.91 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3286, allocations: 4 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3286, allocations: 30.56 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.3286, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005146/0.3291, allocations: 125.5 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.3292, allocations: 59.39 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.3293, allocations: 105.9 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3293, allocations: 25.7 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3294, allocations: 92.03 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.3294, allocations: 11.91 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3295, allocations: 9.719 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3296, allocations: 322.8 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3297, allocations: 27.97 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3298, allocations: 31.95 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3301, allocations: 69.02 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3301, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003038/0.3304, allocations: 113.5 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3305, allocations: 9.719 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3305, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3305, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3306, allocations: 11.98 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3306, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.3307, allocations: 11.98 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3307, allocations: 4 kB / 1.17 GB, free: 3.258 MB / 0.92 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 8.456e-05/0.3308, allocations: 117.7 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3309, allocations: 7.891 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.3312, allocations: 113.5 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3312, allocations: 0 / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3312, allocations: 4 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3312, allocations: 7.938 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.3314, allocations: 169.6 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3314, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.3315, allocations: 15.97 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3315, allocations: 3.938 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.3316, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3316, allocations: 4 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3316, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.3319, allocations: 199.3 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.332, allocations: 77.11 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.332, allocations: 3.984 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3321, allocations: 15.92 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3322, allocations: 8 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3322, allocations: 4 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.3322, allocations: 83.27 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3322, allocations: 4 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002185/0.3324, allocations: 8 kB / 1.171 GB, free: 2.32 MB / 0.92 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.0007001/0.3332, allocations: 0.728 MB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3335, allocations: 71.86 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3335, allocations: 0 / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3336, allocations: 35.97 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.334, allocations: 7.984 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.3345, allocations: 159 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3347, allocations: 0.6846 MB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.3348, allocations: 0 / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.3348, allocations: 19.44 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.3348, allocations: 0 / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.3529, allocations: 1.62 MB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.01, allocations: 6.172 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches