Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.059 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 79.88 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7693, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001576/0.7708, allocations: 0.6886 MB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007193/0.7716, allocations: 0.8044 MB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.7716, allocations: 0.6562 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.7716, allocations: 3.938 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.7717, allocations: 1.266 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.7718, allocations: 12.09 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.7718, allocations: 22.53 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.7719, allocations: 3.297 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.772, allocations: 13.28 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.518e-05/0.772, allocations: 13.89 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.772, allocations: 2 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.772, allocations: 6 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.772, allocations: 9.516 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.7721, allocations: 6.734 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.277e-05/0.7721, allocations: 22.48 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7721, allocations: 5.266 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7721, allocations: 0 / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.7722, allocations: 0 / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003236/0.7725, allocations: 337.1 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.7725, allocations: 9.688 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.099e-05/0.7725, allocations: 32.42 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.978e-05/0.7725, allocations: 9.672 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.035e-05/0.7726, allocations: 166.9 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.7726, allocations: 1.25 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.7726, allocations: 2.156 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.7728, allocations: 48.75 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.7728, allocations: 4.844 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.7728, allocations: 4.609 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7728, allocations: 4.594 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.773, allocations: 32.95 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.7732, allocations: 245.8 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.7733, allocations: 39.81 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.7734, allocations: 23.45 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.7734, allocations: 0.5 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.7734, allocations: 40.77 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7734, allocations: 0 / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003166/0.7737, allocations: 83.7 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.7737, allocations: 52.83 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.193e-05/0.7738, allocations: 101.2 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.7738, allocations: 25.7 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.7738, allocations: 84 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.7738, allocations: 8.922 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.7738, allocations: 12.38 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.7739, allocations: 315.5 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.774, allocations: 20.11 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.774, allocations: 14.17 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.7742, allocations: 39.59 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7742, allocations: 4.688 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001676/0.7743, allocations: 72.48 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.7743, allocations: 5.531 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.7743, allocations: 0.8906 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.7744, allocations: 3.984 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.7744, allocations: 8.266 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.7744, allocations: 1.156 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.7745, allocations: 5.281 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.7745, allocations: 0.9688 kB / 1.275 GB, free: 4.859 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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 3.869e-05/0.7745, allocations: 116.6 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.7746, allocations: 8.688 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.7747, allocations: 76.41 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7747, allocations: 1.031 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7747, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7747, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.793e-05/0.7748, allocations: 164.9 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.7748, allocations: 0.9062 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.7749, allocations: 12.34 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.7749, allocations: 0 / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.7749, allocations: 4.844 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.7749, allocations: 0 / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7749, allocations: 0.875 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.7751, allocations: 170.9 kB / 1.275 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.7751, allocations: 84.33 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.7751, allocations: 1.062 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.7752, allocations: 5.609 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.7752, allocations: 1.719 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.7752, allocations: 1.062 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.012e-05/0.7753, allocations: 83.81 kB / 1.275 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7753, allocations: 0 / 1.275 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001979/0.7755, allocations: 3.812 kB / 1.275 GB, free: 4.152 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.0003608/0.7758, allocations: 0.7009 MB / 1.276 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.776, allocations: 40.42 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.776, allocations: 0 / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.7761, allocations: 15.98 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.7763, allocations: 6.469 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.7766, allocations: 136.6 kB / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.327e-05/0.7767, allocations: 0.6773 MB / 1.277 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.7767, allocations: 1.688 kB / 1.277 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.7768, allocations: 16.53 kB / 1.277 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.7768, allocations: 3.938 kB / 1.277 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.7993, allocations: 1.261 MB / 1.278 GB, free: 18.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/7.728, allocations: 4.781 kB / 1.278 GB, free: 18.25 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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: 13.002199421000114]